The 23rd Psalm has some very interesting aspects. When it says, 'Thou preparest a table before me in the presence of mine enemies', this is something David had done as a sheppard himself. In those days if there was a fight and one of the combatants dies, it wasn't murder, but the family could seek revenge. The law was that if the person could make it to one of the Levitical cities they could be given sanctuary until the High Priest dies. While fleeing if he could get his hands on the posts of the tent of a sheppard he could be given sanctuary for the night so the sheppard hosted both the one fleeing and his enemies. In the morning he got a head start and the chase was on.
For such a short Psalm this one is loaded with all kinds of theology. Small wonder it's such a popular sermon topic and inspires so much devotional attention.
Grace and peace,
Mark