Psalm 40 is a song of thanksgiving that moves from a memory of rescue to a plea for help. Readers look for a Psalm 40 summary because it holds two things that belong together: gratitude for what God has already done and a desperate request for what is still needed. It speaks to anyone who has waited a long time for God to act and then found a new reason to sing.
Psalm 40 Summary
The psalm opens with a testimony. The writer waited patiently, and the LORD turned, heard the cry, lifted him out of a deep pit and set his feet on solid ground. That rescue produced a new song, and the writer expects others to see what God has done and place their own trust in him. The middle of the psalm reflects on God’s wonderful works and his teaching, and it reaches a striking point: the writer says that God has not wanted sacrifices alone, but a listening heart that delights to do his will.
In the final section the tone shifts. The writer has been proclaiming God’s righteousness in public, yet trouble has returned in force. Evils surround him, guilt weighs heavily, and enemies gloat. So the psalm ends in a prayer for speedy help, calling God his help and deliverer, and asking that God not delay.
Background and Setting
Psalm 40 belongs to the Psalter, the collection of Hebrew songs and prayers that Christians call the Book of Psalms. Its superscription attributes it to David, a tradition many readers accept, though scholars debate the exact authorship and date of individual psalms. Most place the composition somewhere in the monarchic period of ancient Israel, though the precise setting remains uncertain.
The psalm was written for the worshiping community of Israel, the “great assembly” the writer mentions, and it was meant to be sung or recited in corporate worship. It sits in the first book of the Psalter, which is largely composed of psalms attributed to David. Its blend of thanksgiving and lament gives it a place alongside other psalms that move between praise and petition.
Psalm 40 Section by Section
Verses 1-3: The Lord Who Lifts Out of the Pit
1 I waited patiently for the LORD. He turned to me, and heard my cry. 2 He brought me up also out of a horrible pit, out of the miry clay. He set my feet on a rock, and gave me a firm place to stand. 3 He has put a new song in my mouth, even praise to our God. Many shall see it, and fear, and shall trust in the LORD.
Psalm 40:1-3 (WEB)
The psalm begins with patient waiting, which is a posture of trust rather than passivity. The writer describes God turning toward him and hearing his cry, then rescuing him from a horrible pit and miry clay. The image is of someone sinking in mud with no way to climb out, and then being placed on a rock with room to stand. The new song in his mouth is the natural result of such a rescue.
Notice how the writer expects the rescue to be public. Many will see it, and the result is fear that leads to trust. Testimony is part of how God’s people encourage one another, and a recent deliverance becomes a message for others who are still waiting.
Verses 4-8: Trust, Obedience, and the Will of God
4 Blessed is the man who makes the LORD his trust, and doesn’t respect the proud, nor such as turn away to lies. 5 Many, the LORD, my God, are the wonderful works which you have done, and your thoughts which are toward us. They can’t be declared back to you. If I would declare and speak of them, they are more than can be counted. 6 Sacrifice and offering you didn’t desire. You have opened my ears. You have not required burnt offering and sin offering.
Psalm 40:4-6 (WEB)
7 Then I said, “Behold, I have come. It is written about me in the book in the scroll. 8 I delight to do your will, my God. Yes, your law is within my heart.”
Psalm 40:7-8 (WEB)
The writer pronounces a blessing on the one who makes the LORD his trust and does not turn toward pride or lies. This is a reflection on where a life is anchored. The next verses turn to God’s wonderful works and thoughts toward his people, which the writer says cannot be fully counted or declared.
Then comes a remarkable statement about sacrifice. God has not desired offerings in the way the writer had expected, so the writer responds with an open, willing presence: “Behold, I have come.” The emphasis falls on delighting in God’s will and carrying his law within the heart. Christians have long read this section as pointing ahead to the one who came to do the Father’s will, but the psalm’s immediate meaning is about the inner orientation of a worshiper.
Verses 9-11: Proclaiming Righteousness Publicly
9 I have proclaimed glad news of righteousness in the great assembly. Behold, I will not seal my lips, the LORD, you know. 10 I have not hidden your righteousness within my heart. I have declared your faithfulness and your salvation. I have not concealed your loving kindness and your truth from the great assembly.
Psalm 40:9-10 (WEB)
The writer insists that he has not kept God’s goodness hidden. He has proclaimed righteousness in the great assembly, declared God’s faithfulness and salvation, and refused to conceal God’s loving kindness and truth. This is a testimony that matches the earlier promise that others would see and trust.
Verse eleven shifts the request into prayer: the writer asks God not to withhold his tender mercies. Faithfulness in speaking about God is not a substitute for needing him, and the psalm holds both together without strain.
Verses 12-17: Surrounded, Yet Asking for Help
12 For innumerable evils have surrounded me. My iniquities have overtaken me, so that I am not able to look up. They are more than the hairs of my head. My heart has failed me. 13 Be pleased, the LORD, to deliver me. Hurry to help me, the LORD.
Psalm 40:12-13 (WEB)
But I am poor and needy. May the Lord think about me. You are my help and my deliverer. Don’t delay, my God.
Psalm 40:17 (WEB)
The mood darkens here. Innumerable evils surround the writer, his iniquities have overtaken him, and his heart has failed. He is honest about guilt and about the weight of trouble. He asks God to hurry to help, and he calls on enemies to be turned back in shame. The imprecatory requests are sharp, and readers often find them uncomfortable, but they express a longing for justice before God rather than personal vengeance.
The psalm closes by widening its circle to all who seek God, who are invited to rejoice and say that the LORD is exalted. The writer describes himself as poor and needy, yet he finds identity in God as his help and deliverer. The last words, “Don’t delay, my God,” capture the tension of faith that is both grateful and still waiting.
Key Themes in Psalm 40
- Patient waiting: The psalm begins with the writer’s patient trust, which God honors by turning and hearing.
- Rescue and firm footing: God lifts the writer out of mire and sets him on a rock, a picture of stable, secure life.
- A new song: Deliverance produces praise, and that praise becomes a testimony for others to see.
- Delighting in God’s will: The psalm contrasts ritual offerings with a heart that willingly does God’s will and holds his law within.
- Honest lament: Even after praise, the writer admits guilt and need, and he asks God to hurry to help.
Lessons From Psalm 40 for Today
Many people reach a point where they have been waiting for a long time, whether for healing after a diagnosis, for an answer to a hard family situation, or for relief from a job that has worn them down. Psalm 40 teaches that patient waiting is not wasted. The writer’s story shows that God hears, and that the rescue, when it comes, can become a reason to speak honestly about God to others.
The psalm also speaks to the habit of performing religion without a changed heart. A person can attend every service and still hold something back from God. The writer’s emphasis on delighting to do God’s will invites a more personal kind of devotion, one that shows up in ordinary choices like honesty at work, patience with a difficult spouse, or generosity with a neighbor.
Finally, the psalm gives permission to bring both gratitude and need to God in the same prayer. A believer can thank God for past mercy and still say, “Don’t delay.” That combination keeps faith alive when the present feels heavy.
Questions for Reflection
- What situation in your life have you been waiting on God to address, and what would patient trust look like there this week?
- When has a past rescue given you a new reason to speak about God to someone else?
- In what areas of your daily life do you find yourself going through religious motions while holding part of your heart back?
- How do you respond when you feel surrounded by trouble, and can you bring that honestly before God as the writer does?
- Who in your community needs to hear a testimony of God’s faithfulness from you right now?
A Prayer From Psalm 40
Lord, I confess that I often wait for you with more anxiety than trust. Thank you for the times you have heard my cry and lifted me from places I could not climb out of on my own. Put a new song in my mouth, and let my life show others that you are worth trusting. Teach me to delight in doing your will, not just to keep my habits in order. When trouble surrounds me again, help me bring my need honestly to you, and do not delay in coming to my aid. Amen.
Frequently Asked Questions
What is the main message of Psalm 40?
The main message is that God hears patient trust and rescues his people, and that this rescue should produce gratitude and public testimony. The psalm also calls for a heart that delights in God’s will rather than mere ritual. Even in ongoing trouble, the writer asks God to act quickly.
Who wrote Psalm 40?
The superscription attributes the psalm to David, and many readers accept that tradition. Scholars note that the question of authorship for individual psalms is debated and cannot be settled with certainty. The psalm’s content fits the experience of a worshiper who has known both deliverance and ongoing need.
Why does Psalm 40 mention sacrifices?
The writer notes that God did not desire sacrifices and offerings in the way one might expect. The point is that God looks for an open, willing heart that delights to do his will. This emphasis helps readers understand that worship is more than outward ritual.