Verse meaning · Psalms

What Does Psalm 23 Mean? "The LORD Is My Shepherd" in Context

“The LORD is my shepherd; I shall not want.”

Psalm 23 is David’s confession that the LORD is his king. In the ancient Near East, “shepherd” was a standard royal title, so “The LORD is my shepherd” means the LORD — not any human ruler, not even David himself — is the one who provides, leads, and protects him. The famous “valley of the shadow of death” (tsalmavet) means deepest darkness, every dark ravine of life and not only the last one; and the psalm ends with a second picture, the LORD as a Middle Eastern host who seats His guest at a table, anoints his head, and fills his cup while enemies look on.

What the verse says

The psalm’s heading calls it “A Psalm of David,” and it moves through two sustained images. The first is the shepherd. “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). Sheep in the Judean hill country do not find pasture and water on their own; everything in these verses depends on the shepherd’s competence and the shepherd’s name.

Then the path darkens: “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). Notice the grammar shift — “he” becomes “thou.” When the valley comes, the psalm stops talking about God and starts talking to Him. The second image follows: a host who “preparest a table before me in the presence of mine enemies” (Psalm 23:5), and a closing line that looks down the whole length of a life: “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).

What it’s often taken to mean

For many people Psalm 23 is a funeral psalm — beloved words for the dying and the bereaved, and rightly so; verse 4 has steadied more deathbeds than any other line in the Psalter. But hearing it only at gravesides shrinks it. The Hebrew behind “the shadow of death” describes the deepest kind of darkness, and the valley is something the psalmist walks through, on the way to a table and a long dwelling in the LORD’s house. The psalm is a psalm for living: for ordinary provision (pastures, water), for guidance (paths), for danger and depression (the valley), and for vindication and welcome (the table).

The other common softening is to hear “shepherd” as merely gentle — a pastoral watercolor. Ancient ears heard something stronger. To call a god or a king “shepherd” was to name the one responsible for a people’s survival: their food, their justice, their defense. The psalm’s comfort is not that God is soft but that God is competent, armed (a rod was a weapon), and personally committed. Gentleness is in the psalm; it rests on power.

The world behind the verse

Kings across the ancient Near East styled themselves shepherds of their people — the title appears in royal texts from Mesopotamia to Egypt, and Israel’s prophets used it for rulers, usually to indict them: “Woe be to the shepherds of Israel that do feed themselves! should not the shepherds feed the flocks?” (Ezekiel 34:2). Against that background, Psalm 23:1 is quietly radical. David, the actual king, files his own confession: he too is a sheep, and the LORD holds the shepherd’s office over him. Ezekiel later records God’s answer to the failed shepherd-kings in words that echo this psalm: “I will feed my flock, and I will cause them to lie down, saith the Lord GOD” (Ezekiel 34:15).

The closing scene runs on the logic of Middle Eastern hospitality, which Bailey traces at length: a host who spreads a table for you takes public responsibility for your safety and honor. Oil on the head refreshed and honored a guest; a cup kept running over signaled unstinting welcome; and enemies present but powerless meant the guest was under the host’s protection. David knew the shepherd’s side of all this from his youth, keeping his father’s sheep at Bethlehem (1 Samuel 16:11) — and centuries later Jesus took up the psalm’s office for Himself: “I am the good shepherd: the good shepherd giveth his life for the sheep” (John 10:11).

The original language

Three Hebrew terms carry the psalm:

How to read it today

Psalm 23 asks for one decision before it gives any comfort: will you let the LORD hold the shepherd’s office over your life — provision, direction, protection, all of it? The psalm’s promises are for sheep, which is to say, for people who have stopped pretending to be their own shepherd. Then it offers what it is famous for, honestly stated: not a detour around the dark valley, but company in it; not the removal of enemies, but a table set in front of them; not a short escape, but goodness and mercy in pursuit for a lifetime, and a home at the end. “I shall not want” is not a claim that nothing will be hard. It is a claim about who is responsible for you now — and He has never lost a sheep He meant to keep.

Common questions about Psalm 23

What does "The LORD is my shepherd" mean?

In the ancient Near East, "shepherd" was a royal title — kings routinely called themselves shepherds of their people. When David says the LORD is his shepherd, he is saying the LORD is his true king: the one who provides, leads, protects, and takes personal responsibility for him. It is a political claim as much as a pastoral one.

Is Psalm 23 only for funerals?

No. The Hebrew phrase translated "valley of the shadow of death" (tsalmavet) means deepest darkness — any ravine of danger or despair, not only dying. The psalm is about being led through every dark stretch of life, which is why it also speaks of pastures, paths, a table, and a long life in the LORD's house.

What does the table in Psalm 23:5 mean?

The psalm shifts images from shepherd to host. Preparing a table, anointing the guest's head with oil, and keeping the cup full are acts of Middle Eastern hospitality: a host who receives you is honor-bound to protect and provide for you, even with your enemies looking on. The LORD is pictured as that host.

Who wrote Psalm 23?

The psalm's heading attributes it to David, who kept his father's sheep before he was anointed king (1 Samuel 16:11). That biography gives the psalm its authority: a man who had been both shepherd and king says the LORD is the shepherd — and therefore the king — over him.

Sources

This article draws on the following scholarship. We cite our sources so you can check our work.

  • John Goldingay, Psalms, Volume 1: Psalms 1–41 (Baker Commentary on the Old Testament) (Baker Academic, 2006).
  • Kenneth E. Bailey, The Good Shepherd: A Thousand-Year Journey from Psalm 23 to the New Testament (IVP Academic, 2014).