Psalm 40 Bible Study: Waiting, Rescue, and a New Song

By
Elizabeth Kim

Psalm 40 is a psalm of David that moves from thankful memory to urgent prayer. People read a Psalm 40 Bible study to understand how someone can give thanks for past rescue while still crying out for help in the present. It speaks to anyone who has waited a long time for an answer and wondered what faithful waiting looks like.

Psalm 40 Summary

The psalm opens with the writer remembering how the LORD heard a patient cry for help and lifted him out of a dangerous pit. That deliverance has become a new song on his lips, and he expects others to see what God has done and place their own trust in him. He then reflects on the wonder of God’s works and reaches a conclusion about worship: God does not simply want ritual offerings, but a listening heart that delights to do his will.

The second half turns from testimony to petition. The writer is surrounded by troubles he cannot escape and feels his strength failing, so he asks God to hurry and deliver him. He ends by praying that those who seek the LORD will rejoice, while his own situation remains one of need, and he entrusts himself to God as his help.

Background and Setting

Psalm 40 appears in the book of Psalms, the Hebrew hymnbook of Israel, and is traditionally attributed to David. Scholars generally place the composition in the monarchic period of ancient Israel, though the exact date is debated. The psalm has the feel of a personal thanksgiving that was later adapted for worship in the community.

The psalm was written for the worshiping people of God and sits in the first book of the Psalms, which runs from Psalm 1 to Psalm 41. Its mix of gratitude and lament makes it a useful example of how Israel’s songs held together thanksgiving and desperate prayer within the same poem.

Psalm 40 Section by Section

Verses 1-3: The Lord Who Lifts from 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 writer begins by describing patient waiting, and then the answer that came. The image of a horrible pit and miry clay pictures a place of danger and entrapment, a place from which no one can climb out on their own. God is shown lifting him up and setting his feet on a rock, which speaks of stability after chaos.

Notice that the new song is not a manufactured emotion. It flows from a real experience of rescue, and it is meant to be heard by others. Many see what God has done, and their response is reverent trust. Testimony in this psalm is an invitation for others to find the same faithful God.

Verses 4-5: The Happy Heart That Trusts the Lord

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.

Psalm 40:4-5 (WEB)

Here the psalmist reflects on who is truly blessed. The person who makes the LORD his trust is contrasted with the proud and those who turn aside to lies. Blessing in this sense is not a matter of status or self-reliance, but of resting in God’s reliable character.

Verse five then turns to the sheer abundance of God’s wonderful works and thoughts toward his people. The writer confesses that these cannot be fully declared or counted. Gratitude, in this section, grows from wonder at how much God has done and how much more remains beyond our words.

Verses 6-8: The Will That Delights in God

6 Sacrifice and offering you didn’t desire. You have opened my ears. You have not required burnt offering and sin offering. 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:6-8 (WEB)

This section is one of the more discussed passages in the psalm. The writer says that sacrifice and offering are not what God ultimately desires, and that God has opened his ears. The emphasis falls on a willing, attentive heart rather than on outward ritual alone, and the speaker responds, “Behold, I have come,” expressing readiness to obey.

The writer delights to do God’s will and carries God’s law within the heart. This points to a faith that is interior and personal, shaped by a love for what God asks. Christians have also read this passage in the light of Christ’s life of obedience, though the psalm itself is first a word about the psalmist’s own devotion.

Verses 9-10: Proclaiming Righteousness in the Assembly

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 testifies openly before the great assembly. He does not hide God’s righteousness, faithfulness, salvation, loving kindness, and truth. Speaking about God in public is presented as a natural outflow of having been changed by him.

The repeated language of declaring and not concealing shows that the psalmist sees his witness as part of his worship. Telling others about God’s goodness is not an optional extra but an expression of a life shaped by what he has received.

Verses 11-13: The Plea of One Surrounded by Trouble

11 Don’t withhold your tender mercies from me, the LORD. Let your loving kindness and your truth continually preserve me. 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:11-13 (WEB)

The mood shifts sharply as the writer admits that innumerable evils surround him and his iniquities have overtaken him. He feels unable to look up and says his heart has failed. This honest confession shows that the psalmist is not pretending to be strong, and he asks God not to withhold mercy.

His request is simple and urgent: deliver me, and hurry to help me. The same God who rescued him in the past is the one he now begs to act again, and the prayer rests on God’s loving kindness and truth as the means of preservation.

Verses 14-17: Confidence That God Will Act

14 Let them be disappointed and confounded together who seek after my soul to destroy it. Let them be turned backward and brought to dishonor who delight in my hurt. 15 Let them be desolate by reason of their shame that tell me, “Aha! Aha!” 16 Let all those who seek you rejoice and be glad in you. Let such as love your salvation say continually, “Let the LORD be exalted!” 17 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:14-17 (WEB)

The closing verses pray for those who seek the psalmist’s life, asking that their plans be turned back and their shame exposed. The writer also prays for all who seek God to rejoice and say continually that the LORD is exalted. The psalm widens from a personal need to a hope for God’s glory among all who love his salvation.

The psalm ends by returning to the writer’s own poverty and need, yet he holds onto the conviction that God is his help and deliverer. The final plea, “Don’t delay, my God,” shows a faith that keeps asking even while it confidently trusts.

Key Themes in Psalm 40

  • Patient waiting: The psalm begins with a testimony that God answers those who wait for him, even when the waiting feels long.
  • Rescue and renewal: God lifts the writer from danger and gives him a new song, a picture of grace that changes a person’s whole outlook.
  • Obedience from the heart: The writer shows that God values a willing, attentive heart that delights to do his will more than empty ritual.
  • Public testimony: Speaking of God’s faithfulness before others is presented as a natural response to his goodness.
  • Honest lament: The psalmist openly admits his failure and need, showing that prayer can hold both thanksgiving and desperate asking.

Lessons From Psalm 40 for Today

Many people today are in a season of waiting, perhaps for a diagnosis to change, a relationship to heal, or a financial burden to lift. Psalm 40 reminds you that waiting on the LORD is not wasted time, and that God has heard the cry of others before. The psalm gives language for remembering past help while still bringing present needs before God.

The psalm also speaks to the habit of quiet obedience. A person who prays for deliverance might also ask whether they are willing to do God’s will in the small, daily decisions that make up a life. The writer’s delight in God’s law invites you to see obedience as something that grows from love rather than duty alone.

Finally, the psalm encourages honesty in community. When you have seen God act, telling others about it can strengthen their trust. When you are overwhelmed, you can admit your need as the psalmist did, trusting that God is your help and will not delay forever.

Questions for Reflection

  • When have you waited on God, and how did you see him answer in a way that gave you a new reason to praise?
  • What does it mean for you to make the LORD your trust rather than relying on your own strength or other sources?
  • In what daily decisions is God asking you to delight in his will, and what keeps you from doing so?
  • Who in your life needs to hear about God’s faithfulness, and how might you share your own experience with them?
  • How can you pray honestly about your need while still holding on to God as your help and deliverer?

A Prayer From Psalm 40

Lord, I confess that I often grow weary while I wait for you to act. Thank you that you hear my cry and lift me out of the places where I cannot climb on my own. Set my feet on solid ground and put a new song in my mouth, so that others might see what you have done and trust you too.

Teach me to delight in doing your will more than in simply keeping up appearances. Keep your faithfulness and loving kindness close to me when troubles surround me. Help me to ask you urgently for help, knowing that you are my help and my deliverer. Amen.

Frequently Asked Questions

Who wrote Psalm 40?

Psalm 40 is traditionally attributed to David. Scholars generally date the psalm to the monarchic period of ancient Israel, though the exact date is debated.

What is the main message of Psalm 40?

The main message is that God hears patient prayer and rescues people from danger. The psalm also shows that God values a willing heart that delights to do his will.

Why does Psalm 40 include both thanksgiving and a cry for help?

The psalmist remembers God’s past deliverance while still facing new trouble in the present. Holding both together shows that thanksgiving and honest lament can belong in the same prayer.

Open the Fun Folder Weekly

Party games, weird questions, goofy lists, and internet rabbit holes worth falling into - a fresh stash of fun delivered to your inbox every week.

More posts

30 Apr 2026

Jeremiah 9 Explanation

Jeremiah 9 is the prophet's raw grief over Judah's deceit and the judgment that follows from it.