Psalm 23 Explained Verse by Verse: The Lord Is My Shepherd
What Psalm 23 means, verse by verse in the KJV: David the shepherd, the rod and staff, the table and oil, Jesus the Good Shepherd, and how to pray it in grief.
Psalm 23 may be the best-loved chapter in the Bible. Children learn it before they can read. Families say it together beside hospital beds. Pastors read it at gravesides around the world.
Because it is so familiar, it is easy to recite without hearing it. Here we'll walk slowly through all six verses, look at the shepherding world David knew, notice a few key Hebrew words, see how Jesus applied this psalm to Himself, and finish with simple ways to pray it in grief, fear or a hospital room.
Read it first: Psalm 23 (King James Version)
The LORD is my shepherd; I shall not want.
He maketh me to lie down in green pastures: he leadeth me beside the still waters.
He restoreth my soul: he leadeth me in the paths of righteousness for his name's sake.
Yea, though I walk through the valley of the shadow of death, I will fear no evil: for thou art with me; thy rod and thy staff they comfort me.
Thou preparest a table before me in the presence of mine enemies: thou anointest my head with oil; my cup runneth over.
Surely goodness and mercy shall follow me all the days of my life: and I will dwell in the house of the LORD for ever.
Psalm 23:1–6 (KJV)
Background: the shepherd who became king
Psalm 23 carries the heading "A Psalm of David," and David knew sheep from the inside. When Samuel came to Bethlehem to anoint Israel's next king, Jesse's older sons were all passed over. Asked if there were any more, Jesse answered, "There remaineth yet the youngest, and, behold, he keepeth the sheep" (1 Samuel 16:11). The boy was called in from the fields, and Samuel "took the horn of oil, and anointed him in the midst of his brethren" (1 Samuel 16:13).
Later, when no soldier in Israel would face Goliath, David told King Saul why he was not afraid:
And David said unto Saul, Thy servant kept his father's sheep, and there came a lion, and a bear, and took a lamb out of the flock:
And I went out after him, and smote him, and delivered it out of his mouth: and when he arose against me, I caught him by his beard, and smote him, and slew him.
1 Samuel 17:34–35 (KJV)
So "The LORD is my shepherd" is not a soft, sentimental picture. David knew that shepherding meant long nights, hard ground and real danger, and he knew what a good shepherd would risk for one lamb. Now he says: that is what God is to me. The English commentator Matthew Henry observed that "many of David's psalms are full of complaints, but this is full of comforts."
Verse 1: The LORD is my shepherd
The LORD is my shepherd; I shall not want.
Psalm 23:1 (KJV)
"LORD" in capitals stands for God's personal, covenant name, the name He revealed to Moses. And notice the small word "my." David doesn't say "a shepherd." He makes it personal. This is the prayer of someone who belongs to God.
"I shall not want" means "I shall lack nothing I truly need." It is not a promise that faith brings wealth or ease; David himself knew hunger, exile and loss. It is the quiet confidence of a sheep that trusts its shepherd to provide what is good, in his time and his way.
Verses 2–3: Rest, guidance and restoration
He maketh me to lie down in green pastures: he leadeth me beside the still waters.
He restoreth my soul: he leadeth me in the paths of righteousness for his name's sake.
Psalm 23:2–3 (KJV)
"He maketh me to lie down." Hungry, frightened sheep will not lie down. A flock resting in green pastures has been fed, calmed and watched over. Sometimes God "makes" us lie down too.
"The still waters" translates a Hebrew word, mᵊnûḥâ, that the Blue Letter Bible lexicon defines as rest or repose; elsewhere the KJV renders it "rest" and "resting place." These are "waters of rest," quiet water a sheep can safely drink. Henry's concise commentary adds that "the consolations of the Holy Spirit are the still waters by which the saints are led."
"He restoreth my soul" means He brings me back and revives me. Sheep wander and grow weak; the shepherd goes after them. When you feel drained or far from God, He is the one who restores.
"For his name's sake." God leads us in right paths not because we deserve it, but because His own name is at stake.
Verse 4: Through the darkest valley
Yea, though I walk through the valley of the shadow of death, I will fear no evil: for thou art with me; thy rod and thy staff they comfort me.
Psalm 23:4 (KJV)
"The valley of the shadow of death" translates the Hebrew ṣalmāveṯ, which Strong's defines as "shade of death" and the Brown-Driver-Briggs lexicon as "death-shadow, deep shadow." It includes death itself, but also any deep darkness: grave illness, grief, danger.
Look at three things:
- "Though I walk through." The valley is not the destination. The Shepherd is leading His sheep to the other side.
- "I will fear no evil." David doesn't say evil isn't there. He says it will not rule his heart.
- "For thou art with me." Here the psalm changes from "he" to "thou." In verses 1–3 David talks about God. In the dark valley, he talks to Him.
Henry put it memorably: "It is but the shadow of death: the shadow of a serpent will not sting, nor the shadow of a sword kill."
The rod and the staff
A shepherd carried two tools. The rod (Hebrew šēḇeṭ) was a club; Brown-Driver-Briggs lists Psalm 23:4 under the sense "shepherd's implement, club." It drove off wild animals like the lion and bear David fought. The staff (Hebrew mišʿeneṯ) comes from a word meaning "support," and Strong's defines it as "a walking-stick." It was for leaning on and guiding the sheep.
So the rod speaks of God's protection and the staff of His guidance and support. Both comfort the sheep, because both mean the shepherd is near.
Verse 5: A table in the presence of enemies
Thou preparest a table before me in the presence of mine enemies: thou anointest my head with oil; my cup runneth over.
Psalm 23:5 (KJV)
Many readers see the picture shift here from shepherd to host. In the ancient world, as the old Briggs commentary on Psalms puts it (quoted in this scholarly overview of Psalm 23), "the host is obliged to protect his guest from all enemies." Enemies might look on, but they could not touch someone at his table. Other readers take the verse as still describing sheep care, with the shepherd's oil soothing wounds and keeping pests away. Either way, God provides and protects right where danger is close.
"Thou anointest my head with oil." Honoured guests were refreshed with oil, and in Scripture anointing marks someone as set apart by God, as David was.
"My cup runneth over." God's welcome is not stingy. He gives more than enough of His grace and presence. This is about the overflowing goodness of God, not a guarantee of material abundance.
Verse 6: Followed by goodness, home for ever
Surely goodness and mercy shall follow me all the days of my life: and I will dwell in the house of the LORD for ever.
Psalm 23:6 (KJV)
"Shall follow me" translates rāḏap̄, a verb the KJV usually renders "pursue" or "persecute." Strong's notes it is used "usually with hostile intent." Here the image is reversed: what chases David through life is not his enemies but God's goodness and mercy, His steadfast covenant love.
"I will dwell in the house of the LORD for ever." The psalm ends at home. For David, the house of the LORD was the place of God's presence. For the Christian, it reaches beyond this life to the Father's house.
Jesus, the Good Shepherd
Centuries after David, Jesus stood in Jerusalem and said:
I am the good shepherd: the good shepherd giveth his life for the sheep.
John 10:11 (KJV)
I am the good shepherd, and know my sheep, and am known of mine.
John 10:14 (KJV)
His listeners knew Psalm 23. They also knew God's promise to shepherd His people Himself:
He shall feed his flock like a shepherd: he shall gather the lambs with his arm, and carry them in his bosom, and shall gently lead those that are with young.
Isaiah 40:11 (KJV)
When Jesus says "I am the good shepherd," He is claiming to be the LORD of Psalm 23 come among us. And He goes further than David could imagine. David risked his life for sheep; Jesus gave His life for them on the cross. God raised Him from the dead, and the New Testament calls Him "that great shepherd of the sheep" (Hebrews 13:20) and "the chief Shepherd" (1 Peter 5:4).
That is why Christians can pray "thou art with me" with full confidence. Our Shepherd has already walked through death and come out the other side. Staying close to Him day by day is what Jesus calls abiding; see our study on what it means to abide in Christ.
The Bible's last picture of the Shepherd is breathtaking:
For the Lamb which is in the midst of the throne shall feed them, and shall lead them unto living fountains of waters: and God shall wipe away all tears from their eyes.
Revelation 7:17 (KJV)
How to pray Psalm 23
When you are grieving
Grief often feels like the valley of the shadow of death. Pray verse 4 personally: "Lord, I am walking through this valley, not staying in it. You are with me." Sheep are not strong; they are carried. See also our Bible verses about strength for when you feel weak.
When you are afraid
Fear imagines the valley without the Shepherd. Psalm 23 puts Him back in the picture. Say aloud, "I will fear no evil: for thou art with me," and name your fear to God. Psalm 23 pairs well with Psalm 91, the great psalm of refuge, and with our Bible verses about anxiety.
In a hospital room
If you are sitting with someone who is weak, read the psalm quietly beside them, one verse at a time. Familiar words can reach a tired heart when long prayers can't. You might pray, "Good Shepherd, make [name] lie down in green pastures. Restore their soul. Let Your rod and staff comfort them tonight."
At a funeral
Psalm 23 is one of the most familiar readings at Christian funerals. It is honest about death without being ruled by it. Let the last verse carry the weight: for those who belong to the Shepherd, the story ends "in the house of the LORD for ever." If you can hardly find words at all, Psalm 23 can be your words; our guide on how to pray when you don't know what to say offers more help.
Make Psalm 23 your own this week
Learn it before a crisis comes.
- Days 1–2: Learn verse 1. Say it on waking and before sleep.
- Days 3–4: Add verses 2–3, picturing each scene as you say it.
- Day 5: Add verse 4, the line you will need most in hard times.
- Days 6–7: Add verses 5–6 and pray the whole psalm each day, changing "he" to "You."
- Share it: text one verse to someone who is grieving or ill.
Frequently asked questions
What is the main message of Psalm 23?
Psalm 23 teaches that God personally cares for those who belong to Him, like a good shepherd and a generous host. He provides, leads, restores and protects, and He stays with His people even through death.
Who wrote Psalm 23?
The heading reads "A Psalm of David," and David had been a shepherd in his youth (1 Samuel 16:11; 17:34–35). The psalm doesn't say when in his life he wrote it. Many modern scholars have doubted the age of the psalm headings, while others argue they belong to the original Psalter. Jewish and Christian tradition has long received it as David's.
What do the rod and staff mean in Psalm 23?
The rod was a shepherd's club for fighting off wild animals, picturing God's protection. The staff was a walking-stick for leaning on and guiding the sheep, picturing God's guidance and support. Both comfort because they show the shepherd is near.
What does "the valley of the shadow of death" mean?
It translates a Hebrew word meaning "shade of death" or deep darkness. It includes death itself but also any very dark season, such as serious illness or grief. The believer walks through it, with the Shepherd.
Is Psalm 23 about Jesus?
David wrote about the LORD as his shepherd, and Jesus applied that picture to Himself: "I am the good shepherd: the good shepherd giveth his life for the sheep" (John 10:11). Christians read Psalm 23 as fulfilled in Christ, who died and rose again to lead His sheep home.
Why is Psalm 23 read at funerals?
Because it speaks honestly about the valley of death while promising God's presence in it and a home with Him "for ever." For grieving believers, it turns the eyes from the grave to the Shepherd.
Share this with someone who needs it