Psalm 23 Meaning: “The Lord Is My Shepherd,” Verse by Verse

What Psalm 23 really means, verse by verse: the shepherd, the still waters, the valley of the shadow of death and the goodness that chases you home.

· · 7 min read


“The LORD is my shepherd; I shall not want.” Psalm 23:1

Psalm 23 may be the best-known chapter in the Bible. People who have never opened a Bible can often say its first line. It’s read at funerals and hospital bedsides, whispered by soldiers and stitched onto pillows. In six short verses it says almost everything a frightened or tired person needs to hear.

But because it’s so familiar, it’s easy to hear it as a pretty poem and miss how bold it is. Here’s what Psalm 23 meant to the people who first sang it, what it means verse by verse, and how to make it your own prayer today.

Psalm 23 in full

“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

Who wrote Psalm 23, and why a shepherd?

The heading calls it “A Psalm of David.” Before David was a king, he was the youngest son sent out to watch the sheep (1 Samuel 16:11). He told King Saul that he had fought off a lion and a bear to rescue a lamb (1 Samuel 17:34–35). So when David calls God his shepherd, he isn’t reaching for a soft image. He knows exactly what a good shepherd does: he walks in front, finds grass and water in a dry land, counts every sheep, and puts his own body between the flock and whatever wants to eat it.

Calling a king a “shepherd” was also common in the ancient world. Kings were meant to protect and provide for their people. David, the king, is saying: I have a shepherd too, and it’s the LORD. Psalm 23 is one of the roughly half of the psalms that carry David’s name, and if it leaves you wanting more, you can read through all 150 psalms with a free plan.

Psalm 23 meaning, verse by verse

Verse 1: “The LORD is my shepherd; I shall not want”

“The LORD” in capital letters stands for God’s personal name, the name He gave Moses at the burning bush (Exodus 3:14–15). David doesn’t say the LORD is a shepherd, or Israel’s shepherd. He says my shepherd. It’s personal.

“I shall not want” means “I will lack nothing.” It isn’t a promise that you’ll get everything you want. It’s the calm of a sheep that knows its shepherd will make sure it has what it needs.

Verse 2: Green pastures and still waters

“He maketh me to lie down in green pastures: he leadeth me beside the still waters.”

Sheep won’t lie down when they’re hungry, afraid or restless, so a sheep lying down in green grass is a picture of complete rest. The Hebrew behind “still waters” is literally “waters of rest.” Sheep are nervous around fast water. A good shepherd finds the calm pools.

Notice that the shepherd makes the sheep lie down. Sometimes rest is something God has to lead us into, because we would keep going until we drop.

Verse 3: “He restoreth my soul”

The Hebrew word for “soul” here, nephesh, means your whole life and self. To “restore” it is to bring it back, like reviving someone who is fainting or bringing back a sheep that has wandered off. Whatever has drained you, God is the one who brings you back to life.

“The paths of righteousness” are the right paths, the ones that actually lead somewhere good. God leads that way “for his name’s sake,” which means His own reputation is on the line. A shepherd who lost his sheep would be a poor shepherd. God has staked His good name on bringing you home.

Verse 4: The valley of the shadow of death

“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.”

This is the heart of the psalm. The Hebrew word translated “shadow of death” can also mean “deep darkness,” which is why some translations say “the darkest valley.” It covers dying, but also every season that feels like it: grief, illness, depression, a diagnosis, the long middle of a hard year.

Three things stand out:

  • “Though I walk through.” The valley is a place you pass through, not where you stay.
  • The psalm changes from “he” to “thou.” In verses 1–3, David talks about God. In the dark valley, he starts talking to Him. When things are at their worst, the shepherd is no longer a distant idea. He’s right there.
  • “Thy rod and thy staff.” The rod was a short club for fighting off wild animals. The staff was a long crook for guiding sheep and pulling them out of trouble. One protects, the other guides. Both are comforting because they mean the shepherd is close enough to use them.

David doesn’t say he won’t walk through the valley. He says he won’t walk through it alone. That is the promise.

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.”

The picture changes from a shepherd to a host. In the ancient Near East, if a host invited you to eat at his table, he was bound to protect you. Your enemies might be watching, but they couldn’t touch you while you were his guest.

Anointing a guest’s head with oil was a sign of welcome and honor (Jesus mentions the custom in Luke 7:46). And a cup that “runneth over” is a host who keeps pouring past the brim. God doesn’t just keep you alive. He welcomes you, honors you and gives more than enough, even before your troubles are gone.

Verse 6: Goodness and mercy shall follow me

“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.”

The Hebrew word for “follow” is stronger than it sounds in English. It usually means to pursue or chase, the same word used for enemies chasing someone. Earlier in the psalm, enemies were watching. Now the only things chasing David are God’s goodness and His mercy.

“Mercy” translates chesed, one of the richest words in the Old Testament. It means God’s steadfast, loyal, covenant love, the kind that won’t let go. “For ever” is literally “for length of days.” The psalm ends where every sheep wants to be: home, with the shepherd, for good.

Jesus, the Good Shepherd

Christians have always read Psalm 23 alongside Jesus’ words in John 10:

“I am the good shepherd: the good shepherd giveth his life for the sheep.” John 10:11

David’s shepherd walks with him through the valley of the shadow of death. Jesus went further and walked into death itself for His sheep, then came out the other side. That’s why Psalm 23 is read at so many Christian funerals. The valley is real, but it has an exit, and the Shepherd has already been through it.

Jesus also told the parable of the shepherd who leaves ninety-nine sheep to look for the one that is lost (Luke 15:4–7). If you’ve wandered, verse 3 is for you: He restores, He brings back.

Why Psalm 23 is read at funerals

Psalm 23 speaks honestly about death without being afraid of it. It names the valley, promises God’s presence in it, and ends with dwelling “in the house of the LORD for ever.” For grieving families, it says two things at once: the loss is real, and the person we love, and we ourselves, are held by a Shepherd who doesn’t lose His sheep.

If you’re grieving right now, you don’t have to feel the peace of this psalm to pray it. You can read it slowly, out loud, and let it carry you on the days you can’t carry yourself.

How to pray Psalm 23

Psalm 23 is one of the easiest psalms to pray in your own words. Read one verse at a time, then talk to God about it:

VerseYou might pray
1“Lord, You’re my shepherd. Help me trust that I have what I need today.”
2“I’m tired. Lead me to rest, even if I don’t think I have time for it.”
3“Bring me back to life where I feel empty, and show me the right next step.”
4“This valley is dark, but You’re here. Stay close and don’t let me go.”
5“Thank You for every good thing You’ve given me, even in a hard season.”
6“Let me notice Your goodness chasing me today, and keep me close to You forever.”

You could also pray it at the end of each day for a week, or memorize it one verse a day. For more ways to use the Psalms as prayer, here’s how to pray the Psalms as a beginner.

Questions people ask about Psalm 23

What is the main message of Psalm 23?

That God personally cares for His people like a good shepherd cares for his sheep. He provides, gives rest, restores, guides, protects in the darkest places, welcomes us as honored guests and keeps us close forever.

What does “I shall not want” mean?

It means “I will lack nothing I need.” It isn’t a promise of everything you desire, but a quiet confidence that the Shepherd will provide what is truly necessary.

What is the valley of the shadow of death?

It’s any season of deep darkness, including death itself, but also grief, fear, illness and depression. The Hebrew can be translated “the darkest valley.” The promise is not that God keeps us out of the valley, but that He walks through it with us.

What do the rod and staff mean in Psalm 23?

A shepherd’s rod was a club used to defend the sheep from predators, and his staff was a long crook used to guide them and rescue them. Together they mean God both protects and leads.

What does “my cup runneth over” mean?

It means God gives more than enough. A generous host kept filling a guest’s cup until it overflowed, as a sign of welcome and abundance.

Is Psalm 23 good to read when you’re anxious?

Yes. It’s one of the most comforting passages in Scripture for fearful days. Read it slowly and pray verse 4 as your own. Here are more Bible verses for anxiety, each with a short prayer, and what “be still, and know that I am God” really means. If you’re worried about what’s ahead, read Jeremiah 29:11 too.

Keep reading the Psalms

Psalm 23 sits between two other psalms worth reading with it. Psalm 22 begins with the cry Jesus prayed on the cross, “My God, my God, why hast thou forsaken me?” and Psalm 24 ends with the King of glory coming in. Read together, they move from suffering, to the Shepherd’s care, to victory. You’ll find more about the whole book in our guide to the Psalms, explained, and more Bible verse meanings on the blog.

If you’d like someone to read the Psalms with you, you can text Heavenly. It can send you a psalm each morning, answer your questions about what you read with chapter and verse, and pray Psalm 23 with you on the nights the valley feels long.

A short prayer

Lord, You are my shepherd. When I’m tired, lead me to rest. When I’m empty, restore my soul. When the valley is dark, stay close, and let me hear You say that I’m not alone. Let Your goodness and mercy chase me all the days of my life, and bring me home to You. Amen.

Keep reading