Almost everyone has waited for something that would not arrive. A test result, a call about a job, a child coming home, the end of a debt or a hard season. Waiting wears you down, and after a few months doubt creeps in. Psalm 40 was born from a wait like that. It begins with someone who has already climbed out of the pit and tells how it happened, and it ends with the same person asking for help again, because life keeps bringing trouble. That mix of thanks and need makes the psalm deeply human. It has 17 verses, its title credits David, and people search for it today by its first line, 'I waited patiently for the LORD.' It is printed below in full, in the Berean Standard Bible, followed by a section-by-section walk through it in everyday words.
Psalm 40 in full
“For the choirmaster. A Psalm of David.”
“I waited patiently for the LORD; He inclined to me and heard my cry. He lifted me up from the pit of despair, out of the miry clay; He set my feet upon a rock, and made my footsteps firm. He put a new song in my mouth, a hymn of praise to our God. Many will see and fear and put their trust in the LORD.”
“Blessed is the man who has made the LORD his trust, who has not turned to the proud, nor to those who lapse into falsehood. Many, O LORD my God, are the wonders You have done, and the plans You have for us— none can compare to You— if I proclaim and declare them, they are more than I can count. Sacrifice and offering You did not desire, but my ears You have opened. Burnt offerings and sin offerings You did not require. Then I said, “Here I am, I have come— it is written about me in the scroll: I delight to do Your will, O my God; Your law is within my heart.””
“I proclaim righteousness in the great assembly; behold, I do not seal my lips, as You, O LORD, do know. I have not covered up Your righteousness in my heart; I have declared Your faithfulness and salvation; I have not concealed Your loving devotion and faithfulness from the great assembly. O LORD, do not withhold Your mercy from me; Your loving devotion and faithfulness will always guard me. For evils without number surround me; my sins have overtaken me, so that I cannot see. They are more than the hairs of my head, and my heart has failed within me.”
“Be pleased, O LORD, to deliver me; hurry, O LORD, to help me. May those who seek my life be ashamed and confounded; may those who wish me harm be repelled and humiliated. May those who say to me, “Aha, aha!” be appalled at their own shame. May all who seek You rejoice and be glad in You; may those who love Your salvation always say, “The LORD be magnified!” But I am poor and needy; may the Lord think of me. You are my helper and deliverer; O my God, do not delay.”
Who wrote Psalm 40, and what kind of psalm is it?
The title reads 'For the choirmaster. A Psalm of David,' and tradition credits King David. 'For the choirmaster' means the psalm was handed to the person who led the people's singing. It was made to be sung together as well as prayed alone. You can hear that in verse 9, where the writer speaks of proclaiming righteousness 'in the great assembly.'
Scholars often describe it as a psalm of thanksgiving that turns into a plea. The first two parts look back and celebrate what God has already done. The last part looks ahead and asks for help with what is coming. One detail surprises many readers: verses 13 to 17 appear almost word for word in another psalm. The heading the Berean Standard Bible places above Psalm 40 points to Psalms 70:1-5 and also to Hebrews 10:1-18, a New Testament passage that quotes Psalm 40. Either way, it is a text that has been precious to many people over the centuries.
Verses 1 to 3: the pit, the rock and the new song
The psalm opens with the result of a wait: 'I waited patiently for the LORD; He inclined to me and heard my cry.' Notice the order. First comes the waiting, long and quiet. Then God leans in, like a father bending down to hear a child who speaks softly. Finally He hears. The psalm never says how long the wait lasted, and that silence is part of the message: there is no deadline you can set for God.
Verse 2 holds the two best-known pictures. The first is the pit: 'He lifted me up from the pit of despair, out of the miry clay.' Anyone who has walked across a muddy field after a storm knows the scene. Every step sinks, the foot comes out with effort, and you get tired without getting anywhere. It fits depression, debt, or a habit that is hard to drop. Other translations change the word. The Reina-Valera 1909 says 'lago de miseria,' a lake of misery, and the Bíblia Livre 2018 says 'cova de tormento,' a pit of torment. The core idea is the same: a place nobody climbs out of alone.
The second picture is the rock: 'He set my feet upon a rock, and made my footsteps firm.' God lifts the man out, plants the rescued one on solid ground, and helps him walk steady. Notice that the footsteps are made firm. The rescue brings order to what comes next.
Verse 3 adds the fruit: 'He put a new song in my mouth, a hymn of praise to our God.' The song is new because the life is new. And it does not stay private. The psalm says 'Many will see and fear and put their trust in the LORD.' The honest story of someone who came through encourages listeners to wait as well. Whoever has crossed a pit has something to tell, and helps more than they realize.
Verses 4 and 5: trust and wonders too many to count
Verse 4 opens with a blessing: 'Blessed is the man who has made the LORD his trust, who has not turned to the proud.' After telling his own story, David draws a lesson for everyone. Happy, in the sense of blessed and at peace, is the person who puts trust in God and does not divide it among those who show off their power or success.
Verse 5 is a burst of wonder. David looks at everything God has done and says that if he tried to tell it all, 'they are more than I can count.' Anyone who has tried to write a thank-you list knows the feeling. God's kindnesses are too many for a list.
Verses 6 to 8: open ears and the joy of obeying
This is the deepest and hardest part of the psalm. Verse 6 says: 'Sacrifice and offering You did not desire, but my ears You have opened. Burnt offerings and sin offerings You did not require.' In David's day, animals and offerings were brought to the sanctuary. The psalm says that what God seeks goes beyond the ritual: an attentive heart, open ears. That is why David says 'my ears You have opened.' Obedience begins with listening.
In verse 7 the writer says: 'Here I am, I have come,' he says, and 'it is written about me in the scroll.' The scroll was where God's law was kept. David steps before God with a short, sincere sentence, 'Here I am,' the way someone raises a hand and says 'I'm here.'
Verse 8 gives the reason: 'I delight to do Your will, O my God; Your law is within my heart.' The key word is 'delight.' David speaks of the pleasure of doing what God asks, and God's law no longer sits outside, on paper. It is 'within my heart.' It is how a mother feels when she cooks for her children: it takes effort, and love is what moves her.
How does Psalm 40 connect to Hebrews 10:5-7?
The New Testament quotes verses 6 to 8 of this psalm in the letter to the Hebrews, chapter 10. It uses very similar words, and the Berean Standard Bible's note beside verse 8 says exactly that: 'Cited in Hebrews 10:5-7.' This is how that passage reads in the Berean Standard Bible:
“Therefore, when Christ came into the world, He said: “Sacrifice and offering You did not desire, but a body You prepared for Me. In burnt offerings and sin offerings You took no delight. Then I said, ‘Here I am, it is written about Me in the scroll: I have come to do Your will, O God.’ ””
There is a difference between the two texts worth noticing. In Psalm 40:6 the Berean Standard Bible reads 'my ears You have opened.' In Hebrews 10:5 the same passage reads 'a body You prepared for Me.' The Berean note on verse 6 explains that the Hebrew text says 'my ears You have opened' and that some manuscripts of the ancient Greek translation, the Septuagint, say 'a body You prepared for me.' Hebrews quotes the Greek version, which many readers of that time used.
Christians read that passage as applying to Jesus Christ: the writer puts these words in Christ's mouth and ties them to His self-offering. That is a reading that belongs to Christian faith, and Hebrews presents it directly, since it introduces the quotation with 'when Christ came into the world, He said.' To read Psalm 40 with this link in mind, it is enough to remember that David voices his delight in doing God's will and that Hebrews sees in it a foreshadowing of Jesus' obedience. Someone who reads the psalm only for the waiting and the rescue still receives all its comfort.
Verses 9 to 12: telling the story and owning the failures
After saying 'Here I am,' David tells what he did with his rescue. In verse 9 he says: 'I proclaim righteousness in the great assembly; behold, I do not seal my lips.' In verse 10 he repeats it several ways: 'I have not covered up Your righteousness in my heart.' Keeping gratitude to yourself is the temptation of someone who came out of a bad season and would rather not talk about it. David chooses to speak. His testimony is his way of saying thanks.
Verse 11 is a short, steady prayer: 'O LORD, do not withhold Your mercy from me; Your loving devotion and faithfulness will always guard me.' Then, suddenly, in verse 12 the tone shifts. The troubles appear, past counting: 'For evils without number surround me.' David owns his own failings: 'my sins have overtaken me, so that I cannot see.' They are 'more than the hairs of my head,' and by then 'my heart has failed within me.' This is the most honest moment in the psalm. Some people climb out of the pit, sing, help others, and still feel surrounded again. The psalm does not hide that. Gratitude and heaviness can live in the same person on the same day.
Verses 13 to 17: the plea for help
The last section is a short, direct plea. Verse 13 says: 'Be pleased, O LORD, to deliver me; hurry, O LORD, to help me.' It has no decoration. It is what you say when the situation leaves no room for more words. What stands out is that the one asking has just told us God rescued him before. That memory gives him courage to ask again.
Verse 16 turns the eyes toward others: 'May all who seek You rejoice and be glad in You.' And verse 17 closes the psalm with a line many people keep: 'But I am poor and needy; may the Lord think of me. You are my helper and deliverer; O my God, do not delay.' David calls himself 'poor and needy,' and still says the Lord thinks of him. He ends with a very human request, 'do not delay,' unafraid to ask God to hurry.
Psalm 40 summary: section, movement and key verse
| Section | Movement | Key verse |
|---|---|---|
| Verses 1-3 | Waiting, rescue, and a new song | Verse 2: 'He set my feet upon a rock' |
| Verses 4-5 | Choosing trust and marveling at God's wonders | Verse 4: 'Blessed is the man who has made the LORD his trust' |
| Verses 6-8 | God wants open ears and a willing heart | Verse 8: 'I delight to do Your will, O my God' |
| Verses 9-10 | Telling the story before everyone | Verse 10: 'I have not covered up Your righteousness in my heart' |
| Verses 11-12 | Asking for mercy and owning failures | Verse 11: 'Your loving devotion and faithfulness will always guard me' |
| Verses 13-17 | Asking for help again, with trust | Verse 17: 'may the Lord think of me' |
When should you read Psalm 40? Situations and verses
| What you are going through | Where to read | What it offers |
|---|---|---|
| Waiting on a result and the wait is long | Verses 1-2 | The assurance that God leans in and hears, even when the silence lasts |
| Feeling like you are sinking in a problem with no way out | Verse 2 | The picture of a hand that lifts you from the mud and sets your feet on a rock |
| Out of a hard season and wanting to say thank you | Verses 3 and 5 | Words of gratitude and a new song to share |
| Struggling to do what you know you should | Verses 6-8 | The idea that God wants attentive ears and a willing heart |
| Feeling guilty or buried under your own mistakes | Verses 11-12 | Honest language for asking for mercy without pretending |
| Needing help now, with few words | Verses 13 and 17 | A short prayer to repeat through the day |
How can you pray Psalm 40 while you wait for an answer?
The psalm works as a borrowed prayer. When the wait wears you down, words are hard to find, and David's are already written. A simple way, in five steps:
- 01Name your pit in your own words, plainly: the illness, the debt, the loneliness, the doubt. God already knows, and saying it aloud brings relief.
- 02Read verses 1 and 2 slowly and ask for help to wait one more day. You can ask for strength for today and leave the rest in His hands.
- 03Read verse 17 and repeat it three times, shifting the emphasis: 'may the Lord think of me,' 'You are my helper,' 'do not delay.'
- 04Do one small, concrete thing within reach, like sorting a stack of papers, calling someone or going for a walk. David's footsteps were made firm as he walked on the rock.
- 05Finish by thanking God for something from this week, however small, and write it down. That is how you start gathering material for your own new song.
A short prayer to begin, in everyday language: 'Lord, I am waiting and it is hard. You see my pit. Lean toward me, as You did with David, and hear my cry. Give me patience for today and steady steps for tomorrow. Do not delay. Amen.'
How can you pray Psalm 40 after the rescue?
The psalm also teaches what to do once the answer has come. That is the moment we tend to forget to say thanks, because life fills up with tasks again. David did three things, and anyone can copy them.
- Tell. Verses 9 and 10 speak of not staying silent. Tell your family, your small group or a friend what happened. A short testimony may be exactly what someone else needs to hear this week.
- Sing. Verse 3 speaks of a new song. Put on a piece of music that fits this season, or write a few lines of thanks and read them aloud.
- Keep asking. Verses 11 to 17 show that a rescue does not end the conversation with God. Tomorrow will bring new problems, and the same God who rescued is still listening.
What should you read after Psalm 40?
If Psalm 40 spoke to you, you may want to continue with Psalm 27, which also talks about waiting on the LORD with courage. For short lines on the same theme, the Bible verses about hope and the Bible verses about trusting God gather passages for every situation. If the waiting comes with nerves, the prayer for anxiety can keep you company tonight. And to see where this psalm sits among the others, look at the most popular psalms.






