Food and drink and rest refresh fainting powers, and this reinvigoration is meant by "restoring my soul" or life.
But the midday or nightly rest is intended to fit for effort, and so a second little picture follows in ver. 3, presenting another aspect of the shepherd's care and of the sheep's course. Out again on to the road, in spite of heat and dust, the flock goes. "Paths of righteousness" is perhaps best taken as "straight paths," as that rendering keeps within the bounds of the metaphor; but since the sheep are men, straight paths for them must needs be paths of righteousness. That guidance is "for His name's sake." God has regard to His revealed character in shepherding His lamb, and will give direction because He is what He is, and in order that He may be known to be what He has declared Himself. The psalmist had learned the purpose of repose and refreshment which, in all regions of life, are intended to prepare for tasks and marches. We are to "drink for strength, and not for drunkenness." A man may lie in a bath till strength is diminished, or may take his plunge and come from it braced for work. In the religious life it is possible to commit an analogous error, and to prize so unwisely peaceful hours of communion, as to waive imperative duty for the sake of them; like Peter with his "Let us make here three tabernacles," while there were devil-ridden sufferers waiting to be healed down on the plain. Moments of devotion, which do not prepare for hours of practical righteousness, are very untrustworthy. But, on the other hand, the paths of righteousness will not be trodden by those who have known nothing of the green pastures and waters where the wearied can rest.
But life has another aspect than these two--rest and toil; and the guidance into danger and sorrow is as tender as its other forms are. The singular word rendered "shadow of death" should probably simply be "gloomy darkness," such, for instance, as in the shaft of a mine (Job xxviii. 3). But, even if the former rendering is retained, it is not to be interpreted as meaning actual death. No wise forward look can ignore the possibility of many sorrows and the certainty of some. Hope has ever something of dread in her eyes. The road will not be always bright and smooth, but will sometimes plunge down into grim cañons, where no sunbeams reach. But even that anticipation may be calm. "Thou art with me" is enough. He who guides into the gorge will guide through it. It is not a _cul de sac_, shut in with precipices at the far end; but it opens out on shining table-lands, where there is greener pasture. The rod and staff seem to be two names for one instrument, which was used both to beat off predatory animals and to direct the sheep. The two synonyms and the appended pronoun express by their redundancy the full confidence of the psalmist. He will not fear, though there are grounds enough for terror, in the dark valley; and though sense prompts him to dread, he conquers fear because he trusts. "Comfort" suggests a struggle, or, as Calvin says, "Quorsum enim consolatio ipsa, nisi quia metus eum solicitat?"
The second image of the Divine Host and His guest is expanded in vv. 5, 6. The ideas are substantially the same as in the first part. Repose and provision, danger and change, again fill the foreground; and again there is forecast of a more remote future. But all is intensified, the need and the supply being painted in stronger colours and the hope being brighter. The devout man is God's guest while he marches through foes, and travels towards perpetual repose in the house of Jehovah.
Jehovah supplies His servants' wants in the midst of conflict. The table spread in the sight of the enemy is a more signal token of care and power than the green pastures are. Life is not only journey and effort, but conflict; and it is possible not only to have seasons of refreshment interspersed in the weary march, but to find a sudden table spread by the same unseen hand which holds back the foes, who look on with grim eyes, powerless to intercept the sustenance or disturb the guests. This is the condition of God's servant--always conflict, but always a spread table. Joy snatched in the face of danger is specially poignant. The flowers that bloom on the brink of a cataract are bright, and their tremulous motion adds a charm. Special experiences of God's sufficiency are wont to come in seasons of special difficulty, as many a true heart knows. It is no scanty meal that waits God's soldier under such circumstances, but a banquet accompanied with signs of festivity, viz., the head anointed with oil and the cup which is "fulness." God's supplies are wont to surpass the narrow limits of need and even to transcend capacity, having a something over which as yet we are unable to take in, but which is not disproportioned or wasted, since it widens desire and thereby increases receptivity.