Psalm 23 is David’s song of trust in God as his shepherd. It says that the LORD provides what we need, gives rest, guides us, stays with us through the darkest valley, honors us as His guests, and keeps us with Him forever. In six short verses it moves from the pasture to the house of the LORD, and God’s people have prayed it for about three thousand years, in every season of life.
Many people know it from funerals, but it was written for living. Here is the whole psalm, then a walk through it verse by verse.
Psalm 23 (full text)
A Psalm of David. The LORD is my shepherd; I shall not want. He makes me lie down in green pastures; He leads me beside quiet waters. He restores my soul; He guides me in the paths of righteousness for the sake of His name. Even though I walk through the valley of the shadow of death, I will fear no evil, for You are with me; Your rod and Your staff, they comfort me. You prepare a table before me in the presence of my enemies. You anoint my head with oil; my cup overflows. Surely goodness and mercy will follow me all the days of my life, and I will dwell in the house of the LORD forever.
Psalm 23:1–6
Who wrote Psalm 23?
The heading calls it “A Psalm of David.” Before David was a king, he was a shepherd boy keeping his father’s flock near Bethlehem. When he offered to fight Goliath, he told King Saul what that work had been like:
David replied, “Your servant has been tending his father’s sheep, and whenever a lion or a bear came and carried off a lamb from the flock, I went after it, struck it down, and delivered the lamb from its mouth.
1 Samuel 17:34–35
So when David calls God his shepherd, he knows exactly what he is saying. A shepherd feeds the sheep, finds them water, walks in front of them, and puts himself between them and danger. David had done all of that. In this psalm he admits that he is the sheep.
What does “The LORD is my shepherd; I shall not want” mean?
“LORD” in capital letters stands for God’s personal name, the name He gave Moses at the burning bush. David doesn’t say “a shepherd” or “the shepherd of Israel.” He says “my shepherd.” It is personal.
“I shall not want” means “I will lack nothing.” It isn’t a promise that we will get everything we would like. It is the confidence of someone who belongs to a good shepherd and trusts Him to supply what is actually needed. A sheep doesn’t plan its meals. It stays close to the one who does.
Green pastures and still waters
“He makes me lie down in green pastures; He leads me beside quiet waters.” The King James Version says “still waters,” which is the phrase many people remember. Sheep are skittish animals, and they won’t lie down when they are hungry, afraid or restless. When they do lie down, it means the shepherd has taken care of all three.
Notice that the shepherd makes the sheep lie down. Sometimes God has to slow us down before we will rest. Quiet water matters too, because a fast stream can sweep a lamb away. God leads us to the kind of refreshment we can actually take in.
“He restores my soul”
To restore is to bring back. A tired soul is renewed, and a wandering one is brought home. Then: “He guides me in the paths of righteousness for the sake of His name.” The shepherd leads us on right paths, and He does it for His own name’s sake, because His reputation as a good shepherd is at stake. That is a comfort. Our safety rests on His faithfulness, not on how well we follow.
What does “the valley of the shadow of death” mean?
This is the verse people cling to in hospital rooms and at gravesides. Many know it best in the King James wording:
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 Hebrew phrase can also be translated “the valley of deep darkness,” as a footnote in the BSB points out. It covers death itself and also every dark stretch of life: grief, illness, fear, loneliness, a season when you can’t see the way ahead.
Two things stand out. First, the sheep walks through the valley. The valley has another side. Second, this is where David stops talking about God and starts talking to Him. In the first three verses it is “He.” In the valley it becomes “You are with me.” The darkest place in the psalm is also the closest.
The rod was a club for driving off wild animals; the staff was a long stick for guiding and pulling a sheep out of trouble. One protects and the other leads. Both are signs that the shepherd is near, and that is why they comfort. If you are walking through a dark season now, you may also find help in these Bible verses for anxiety. And if the darkness is heavy and won’t lift, please talk to a pastor, a counselor or a doctor too. God often brings His comfort through people.
A table in the presence of my enemies
In verse 5 the picture changes from shepherd to host: “You prepare a table before me in the presence of my enemies.” In the ancient world, to eat at someone’s table was to come under their protection. David still has enemies. They haven’t disappeared, but they can only watch while God serves him a meal. Peace doesn’t always wait for the trouble to leave.
What does “You anoint my head with oil; my cup overflows” mean?
A good host poured oil on an honored guest’s head as a sign of welcome and refreshment after a dusty road. Anointing was also how kings were set apart, and David had been anointed by Samuel as a boy. Here God Himself does the anointing. The cup that overflows is a host who keeps pouring past the brim. God doesn’t give barely enough. He gives more than we can hold.
Goodness, mercy and the house of the LORD
“Surely goodness and mercy will follow me all the days of my life.” The Hebrew word for “follow” has the sense of pursuing or chasing. David spent years being chased by enemies. Now he says that what is really on his trail is God’s goodness and His hesed, the steadfast, covenant love that never lets go.
“And I will dwell in the house of the LORD forever.” For David the house of the LORD meant the place of worship where God met His people. The psalm points further, to a home with God that death cannot end. It starts in a field and finishes at home.
How Psalm 23 points to Jesus, the good shepherd
Centuries after David, Jesus took up this same picture and applied it to Himself:
I am the good shepherd. The good shepherd lays down His life for the sheep.
John 10:11
David risked his life against a lion and a bear. Jesus gave His life on the cross, and then rose again. A few verses later He adds, “My sheep listen to My voice; I know them, and they follow Me” (John 10:27). The Shepherd of Psalm 23 has a face and a name. He walked through the valley of the shadow of death ahead of us, and came out the other side. That is why a Christian can say “You are with me” even at the end of life. You can read more about who He is in Who is Jesus?
He also tells a story about a shepherd with a hundred sheep who leaves the ninety-nine to look for the one that is lost, “and when he finds it, he joyfully puts it on his shoulders” (Luke 15:5). If you have wandered, this psalm isn’t only for people who have stayed close. The shepherd goes looking.
How to pray Psalm 23 in the morning
Psalm 23 is short enough to learn by heart, and it makes a good first prayer of the day. Try praying it slowly, a line at a time, and turning each line into a request or a thank-you:
- “The LORD is my shepherd.” Lord, You are mine today. Lead me.
- “I shall not want.” Give me what I need today, and help me trust You with the rest.
- “He guides me in the paths of righteousness.” Show me the right way in the choices in front of me.
- “You are with me.” Whatever I face today, I won’t face it alone.
Some people like to hear a verse read aloud as they wake, before anything else gets their attention. That is what Amen Clock was made for: the alarm reads you a Bible verse and turns off when you say Amen. For more ideas, see how to start your day with prayer.
How to pray Psalm 23 at night
At night the psalm becomes a way of handing the day back. Lie down and pray “He makes me lie down in green pastures” as you actually lie down. Bring the day’s worries to “I will fear no evil, for You are with me.” Thank Him for the ways His goodness and mercy followed you, even if you only noticed them afterward. Then rest, the way David did in another psalm: “I will lie down and sleep in peace, for You alone, O LORD, make me dwell in safety” (Psalm 4:8). There are more simple prayers in evening prayers before bed.
However you pray it, morning or night, end the way the psalm ends, at home with the Shepherd, and say Amen.
Amen Clock is a morning alarm that reads you a Bible verse, like the ones in Psalm 23, and turns off when you say “Amen” out loud.
Scripture quotations are from the Berean Standard Bible (BSB), which is in the public domain, and the King James Version (KJV).
