Psalm 23 for sleep is the psalm more people have whispered in the dark than any other words in the Bible. Six verses, and almost everyone who has ever lain awake knows the first line by heart: “The Lord is my shepherd; I shall not want.” David wrote it — the shepherd boy who became a king, the man who had slept on hillsides with a flock and in palaces with an army at his door — and he wrote it the way a shepherd would: plainly, slowly, and with everything a tired soul needs in the smallest possible space. There is no hurry in this psalm. It walks. It lies down. It follows a stream. It even sits down to eat in the presence of enemies, unhurried. If tonight is the kind of night when your mind keeps counting what you lack — money, answers, sleep itself — then this is the psalm to read whole, and slowly, one line at a time, the way you would walk a familiar path home in the dark.

I shall not want

David begins with a claim so bold it sounds impossible on a sleepless night: I shall not want. He does not say he has everything. He says he shall not want — and the difference is the whole psalm. A shepherd’s sheep does not carry its own food or find its own water or fight its own wolves. The shepherd does all of that, and the sheep’s only work is to stay close and to follow. David had been both: the boy with the staff, watching the flock on the hills of Bethlehem, and the sheep himself, learning that God watches over him the way he once watched over sheep. To say the Lord is my shepherd is to hand over the worrying — the providing, the protecting, the planning — to someone who never sleeps and never fails at it. Your wants tonight may be real: the bill, the result, the apology that never came. The psalm does not deny them. It simply says that the One who provides is closer than the want, and that a sheep in the care of a good shepherd is never left to fend for itself in the dark.

Green pastures and still waters

Then the psalm slows down, the way a good shepherd slows a flock at the end of the day: “He maketh me to lie down in green pastures: he leadeth me beside the still waters. He restoreth my soul.” Notice that the shepherd makes the sheep lie down. Sheep do not lie down on their own when they are afraid — they stand, restless, ready to run. And neither do we. We lie awake rehearsing tomorrow, and the psalm says that rest is not something we achieve; it is something we are led into, by a shepherd who knows where the green grass grows and where the water runs still. Still waters — not the rushing river, not the storm-tossed sea, but the quiet pool where a sheep can drink without fear. And then the gentlest phrase in the psalm: he restoreth my soul. Restoration is not repair after a breakdown. It is the daily return of strength, the way a flock is brought back, evening after evening, to the place where it can rest. If your soul feels spent tonight — worn thin by worry, by work, by waiting — then this is the promise to lie down with: you are being led, not driven, and the green pasture is already there.

Though I walk through the valley

And then the psalm does the honest thing: it does not pretend the valley is not there. “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.” The valley is real — the shadow, the diagnosis, the grief, the night that feels like it will never end. But notice what David says about it: he walks through it. He does not live in it. He does not camp in it. He walks through, the way a flock walks through a dark valley between two hills, because the shepherd is leading it to the other side. And the fearlessness is not his own courage. It is the shepherd’s presence: thou art with me. The rod and the staff — the shepherd’s tools, one for defending the flock and one for guiding it — are the comfort, not because they are beautiful, but because they are in the shepherd’s hands, and the shepherd is walking in the valley too. Whatever valley you are walking through tonight, you are not walking it alone, and you are walking through it. The valley has an end. The shepherd knows the way out.

A table, and a house

The psalm ends the way it began — with provision, but now it is a feast: “Thou preparest a table before me in the presence of mine enemies: thou anointest my head with oil; my cup runneth over.” A table, set in the open, in full view of the enemies — not hidden away, not eaten in a hurry, but prepared with honour, the way a host prepares a table for a guest he loves. The oil on the head is the welcome of a king’s house. The cup running over is abundance you did not earn and cannot contain. And then the last line, the line that has closed more nights than any other in Scripture: “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.” Goodness and mercy, following you — the way a shepherd follows his flock, the way a host follows his guest to the door. Not chasing you down. Following, gently, every day of your life. And the house at the end of the road is not a stranger’s house. It is the Lord’s house. And you will dwell there — not visit, not pass through, but dwell — for ever.

What this psalm teaches us

  • Want is not the same as lack. I shall not want does not mean you have everything — it means the Shepherd who provides is closer than the want. Hand the providing over, the way a sheep hands it to the shepherd, and the want loses its power to keep you awake.
  • Rest is led into, not achieved. He maketh me to lie down in green pastures. Sheep do not lie down when they are afraid — and neither do we. Rest comes when you let yourself be led to the still waters, not when you finally exhaust yourself into sleep.
  • The valley is a road, not a home. Though I walk through the valley of the shadow of death. You walk through it; you do not live in it. The rod and the staff comfort because they are in the Shepherd’s hands — and He is walking the valley with you.
  • Goodness and mercy follow you. Surely goodness and mercy shall follow me all the days of my life. Not chase you, not catch you — follow, gently, every day. And the house at the end of the road is home, for ever.

For the one who cannot sleep tonight

Perhaps tonight the want feels louder than the shepherd — the bill, the result, the silence after the argument, the valley that seems to have no end. Do what David did, in his order. Say the shepherd first: The Lord is my shepherd; I shall not want. Then lie down in the green pasture He has already prepared, and drink from the still waters. Walk through the valley knowing the rod and the staff are in His hands, not yours. And then sit down at the table He has set in the presence of your enemies, and let your cup run over. If this is the kind of night you are having, you will find more psalms like this one among our Bible Sleep Stories — and you may especially rest in Psalm 91: A Protection Prayer for the Night, the great psalm of the secret place, and in Psalm 27: The Lord Is My Light, where the light is greater than whatever is camped outside your door. The shepherd is with you. Lie down, and dwell in His house until morning.

“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

More stories for the night

The Sleepy Sage tells a gentle Bible story for every kind of sleepless night. Subscribe, and let the next one find you.

Subscribe to The Sleepy Sage

Keep reading