What Is Psalm 23
and What Does It Mean?
The most beloved psalm in scripture — full text, line-by-line meaning, and what it says to you in the middle of the hardest seasons of your life.
Psalm 23 is one of the shortest chapters in the Bible — six verses, 118 words — and one of the most memorised, most quoted, and most prayed pieces of scripture in all of human history. Written by David, a shepherd who became a king, it is a poem about what it feels like to be cared for by a God who knows exactly what you need and where to find it. Below is the full text, followed by a line-by-line exploration of what it actually means.
Psalm 23 has been prayed at more bedsides, more gravesides, more hospital rooms, and more moments of genuine crisis than any other scripture in history. It is the psalm people reach for when they have no other words — and it holds them. Understanding what it actually says deepens what it does when you pray it.
What Is Psalm 23?
Psalm 23 is one of 150 psalms in the Book of Psalms — the ancient Hebrew hymn and prayer book that forms the heart of the Old Testament’s devotional literature. It is attributed to David, Israel’s second king, who spent his early life as a shepherd in the hills of Judea before being anointed king by the prophet Samuel.
That biography is essential to the psalm. David is not writing a romantic metaphor about sheep. He is drawing on lived knowledge — the knowledge of someone who spent years sleeping beside a flock, protecting them from predators, finding water in dry land, navigating them through dangerous terrain. When he calls God “my shepherd,” he knows exactly what that means from both sides of the relationship.
The psalm moves through two distinct images. The first three verses describe the shepherd and sheep — provision, rest, restoration, guidance. Beginning in verse four, the image shifts: David is no longer a sheep being led but a person walking through a dark valley, sitting at a prepared table, dwelling in God’s house. The psalm moves from pastoral to personal — from the language of nature to the language of relationship.
The Lord is my shepherd; I shall not want.
Psalm 23:1 · KJV
The opening line is perhaps the most load-bearing sentence in all of scripture. It makes two claims that support each other: God is a shepherd — personal, present, actively tending. And therefore: I shall not want — not because all circumstances are comfortable, but because the shepherd ensures that nothing essential is lacking. The entire psalm unfolds from this single declaration.
Deep DiveWhat Does Psalm 23 Mean — Line by Line
Each verse of Psalm 23 contains more than it first appears. Here is what David is actually saying — and what it means for the person praying it today.
The Hebrew word translated “Lord” here is YHWH — the personal name of God, the name He revealed to Moses at the burning bush. David is not saying “a god is my shepherd” or “the divine is my shepherd.” He is saying the specific, personal, covenant God — the one who made promises and keeps them — is my shepherd. The possessive is everything. Not a shepherd in general. Mine. And because YHWH is my shepherd — I shall not want. This does not mean I will have everything I desire. The Hebrew word chaser means “to lack,” particularly to lack what is essential. The shepherd ensures the sheep lack nothing necessary for life and flourishing. The promise is sufficiency, not luxury.
What are you currently convinced you lack — that may actually be supplied by the shepherd in a form you haven’t yet recognised?
A sheep will not lie down unless three conditions are met: it is free from fear, free from friction with the flock, and free from hunger. The shepherd creates those conditions. “He maketh me” — the sheep does not lie down by its own decision; the shepherd has created the environment in which rest becomes possible. “Green pastures” in the Judean hills were not always obvious — the shepherd had to seek them out. “Still waters” is crucial: sheep will not drink from fast-moving or turbulent water. The shepherd finds the calm pools. God does not lead you to what you cannot receive — He makes the provision accessible to your actual condition.
Where is God making rest possible for you that you are refusing to enter because you are still too anxious to lie down?
“Restoreth my soul” — the Hebrew shub nephesh literally means “he turns my life around” or “he brings me back.” A sheep can become “cast” — turned on its back, unable to right itself, vulnerable to death. The shepherd finds it and sets it upright again. The soul restoration David describes is not a gentle spiritual top-up. It is rescue from the helpless position. “Paths of righteousness” — the right paths, the safe tracks — “for his name’s sake.” God leads in right paths not primarily for the sheep’s benefit but for the sake of His own reputation. He is the shepherd — what happens to His sheep reflects on Him.
Where do you need your soul restored — not refreshed, but genuinely turned back from a position you cannot recover from alone?
This is the psalm’s pivot — the shift from “he” to “thou.” In the first three verses, David speaks about God. Here, he speaks to God directly. The intimacy deepens at precisely the moment the path gets darkest. The “valley of the shadow of death” — gey tsalmaveth — was likely a specific ravine in Judea used by shepherds, known for its darkness and danger. But the word tsalmaveth can also mean “deep darkness” — any experience of profound threat, loss, or mortal fear. The promise is not that the valley is avoided but that it is walked through — and that the shepherd is present in it. The rod was a club for fighting predators; the staff was a crook for guiding and steadying. Both comfort — because both signals the shepherd’s nearness and protection.
What valley are you currently walking through — and is it possible that “thou art with me” is true even though you cannot feel it?
The image shifts completely here — from shepherd and sheep to host and guest. God prepares a banquet table not in a place of safety after the enemies have been removed, but in the presence of the enemies. The provision is not contingent on the threat being resolved first. Anointing with oil was a sign of welcome, honour, and blessing — what a host did for a valued guest. “My cup runneth over” — the cup is not just full but overflowing. God’s hospitality exceeds what you can contain. The enemies are still there; the table is still set; the cup is still overflowing. The coexistence of threat and provision is deliberate. God does not always remove what threatens you before He blesses you.
Where are you waiting for the enemies to be removed before you’ll accept the table God is setting in the middle of them?
“Surely” — ak in Hebrew — means certainly, undoubtedly, without question. The psalm ends not with a hope but a declaration. “Goodness and mercy shall follow me” — the word “follow” in Hebrew is radaph, which usually means to pursue, to chase, to hunt. Goodness and mercy are not passively following David like a shadow. They are actively in pursuit of him, every single day. “All the days of my life” — not the good days. All days. Including the valley days, the enemy-surrounded days, the cast-on-your-back days. And the final destination: dwelling in the house of the Lord for ever — not occasional visits but permanent residence. The psalm ends in the place of permanent belonging.
What if goodness and mercy are not behind you but actively in pursuit of you — even in the hardest season you are in right now?
Real LifeWhat Psalm 23 Means for You Today
Who Wrote Psalm 23 and When?
The superscription of Psalm 23 reads “A Psalm of David” — attributed to King David of Israel, who lived approximately 1000 BC. David’s biography is uniquely suited to this psalm: he spent his youth as a shepherd in the hills of Bethlehem, tending his father Jesse’s flocks, before being anointed king by the prophet Samuel (1 Samuel 16). He later became Israel’s greatest king and also its most celebrated poet and musician.
Scholars debate the precise date of composition. Some suggest David wrote it in his youth, drawing on his fresh experience of shepherd life. Others believe it reflects the wisdom of his later years — a man who has survived betrayal, exile, warfare, and personal failure, and who has found in the God of his youth a constant that outlasted every circumstance. The theological depth of verses 4–6 — the valley, the enemies, the permanent dwelling — favours a later, harder-won perspective.
David wrote Psalm 23 from both sides of the shepherd relationship. As a young man he was the shepherd; as a king and psalmist he knew himself to be the sheep. No other biblical writer was as qualified to write this psalm — and no other psalm so perfectly captures what it feels like to be genuinely cared for by God.
Psalm 23 is not a psalm for easy days. It was written by someone who knew what predators look like, what dark valleys feel like, and what it is to have enemies close enough to watch you eat. It is a psalm for the hard days precisely — the valley days, the cast-on-your-back days, the sitting-in-the-dark days. And into every one of those days it says the same thing: the Lord is my shepherd. Surely goodness and mercy are in pursuit of me. All the days of my life. Including this one.