Psalm 40 Explanation

By
Elizabeth Garcia
sunrise

BIBLEREADER // ELIZABETH GARCIA

Psalm 40 is a psalm of thanksgiving that moves from a long wait and a rescue to a plea for help in a new trouble. People read it because it speaks honestly about waiting on God, being lifted out of a difficult place, and then finding that the trouble has not fully left. The psalm offers a pattern for gratitude that does not pretend everything is settled.

Psalm 40 Summary

The psalm opens with the writer recalling how patiently they waited for the LORD, and how God heard and lifted them out of a dangerous pit. The rescue is described as being given solid ground to stand on and a fresh song to sing, something the writer hopes will lead others to trust as well. The middle of the psalm turns to God’s wonderful works and to the kind of obedience God really wants, which is more than ritual offerings.

The final section changes tone. The writer, still speaking of the earlier deliverance, now finds themselves surrounded again by trouble, so overwhelmed that they cannot look up. The psalm closes with a short, urgent prayer asking God not to delay, because the writer is poor and needy and God is their only help.

Background and Setting

Psalm 40 belongs to the Psalter, the collection of songs and prayers in the middle of the Hebrew Bible. It is traditionally attributed to David, though the psalm itself does not name its author in the opening lines, and many scholars date its final form to the monarchic period or later. The psalm was sung in the worship life of ancient Israel, in the temple and in the homes of ordinary worshipers.

The psalm was written for the community of faith as well as for the individual who first prayed it. Its reference to a “great assembly” suggests public worship, where a person might testify to God’s rescue before others. In the arrangement of Psalms, it sits among the songs of thanksgiving and lament, which helps explain its mix of joy and desperation.

Psalm 40 Section by Section

Verses 1-3: The Patient Wait and the New Song

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 a memory of waiting. The writer does not describe the wait as a mere passing of time but as a patient trust that God would hear. When God does respond, the image is physical and vivid: a person pulled out of a miry pit and set on firm rock. The gift is not only rescue but stability, a place to stand that will hold.

The new song in verse 3 shows that deliverance changes the way a person speaks. The writer’s praise is not private, and it is meant to be heard. Others see what God has done and are drawn toward trusting the LORD, so the testimony becomes an invitation for people who are watching.

Verses 4-5: The Blessing of Trust and the Uncountable Works

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 psalm pauses to name what it means to be blessed. The person who makes the LORD their trust is set apart from the proud and from those who turn to lies. This is not a call to contempt for others but a contrast between two ways of living, one anchored in God and one anchored in false security.

Verse 5 turns to wonder. The writer cannot list all the wonderful works God has done, and the sense is that God’s kindness toward people is too great to be fully counted. Gratitude, in this section, grows out of recognizing how much has already been given.

Verses 6-8: The Obedience That Pleases 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)

These verses seem to set aside sacrifice in favor of something deeper. The writer says that God has not desired burnt and sin offerings in the way they had been offered, and points instead to a readiness to do God’s will. The image of having one’s ears opened suggests a listening heart rather than mere ritual performance.

Verse 7 mentions a written scroll, and Christian readers have long connected this language with Christ, since the New Testament applies these verses to him in Hebrews 10. Read on its own terms, the passage asks for a heart that delights in God’s law and is willing to act on it.

Verses 9-11: Speaking Righteousness Without Holding Back

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 says they have proclaimed God’s righteousness in the great assembly and have not kept it hidden. This is a commitment to honesty about God’s faithfulness, offered publicly. Keeping silent would be a failure of gratitude, so the writer refuses to seal their lips.

Verse 11 shifts into a request. The same faithful love that the writer has testified to is now asked to preserve them. The movement from proclamation to petition shows that a person of faith can speak about God’s goodness and still need that goodness right now.

Verses 12-17: The Return of Trouble and the Urgent Plea

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)

The mood darkens sharply. Evils surround the writer, their sins feel overwhelming, and their heart has failed. The honesty here is striking, because the psalm does not hide the fact that thanksgiving does not erase present distress. Many readers find comfort in seeing that trouble can return even after God has delivered.

The closing verses ask God to act quickly, to confound the enemies, and to let those who seek God rejoice. The psalm ends with the writer calling themselves poor and needy and asking God not to delay. The final prayer shows that even a grateful person returns to dependence on God.

Key Themes in Psalm 40

  • Patient waiting: The psalm treats waiting on God as an active trust that God hears and responds to.
  • Rescue and stability: God lifts people out of danger and gives them firm ground to stand on.
  • Heart obedience: The psalm values a willing heart to do God’s will above ritual offerings alone.
  • Public testimony: Gratitude is meant to be spoken openly so that others may trust the LORD.
  • Honest need: Even after deliverance, the psalmist admits trouble and asks God for help again.

Lessons From Psalm 40 for Today

Many people today are in the middle of a long wait, perhaps for a diagnosis, a job, or a reconciliation that has not happened. Psalm 40 shows that waiting can be done with trust rather than resignation, and that God’s response, when it comes, is often more solid than we expected. The psalm invites you to remember specific ways God has helped you in the past.

The psalm also speaks to the tendency to think that one good answer to prayer ends the need for prayer. When trouble returns, as it often does, the writer simply comes back to God and asks again. That is a healthy model for a person who feels they have to be strong all the time, reminding them that honest dependence is a form of faith.

Finally, the call to speak of God’s faithfulness applies to a parent telling a child about a family rescue, a friend sharing how God carried them through grief, or a small group giving thanks together. Your testimony may be the thing that helps someone else decide to trust the LORD.

Questions for Reflection

  • When have you had to wait on God longer than you wanted, and what did that waiting teach you about trust?
  • What specific rescues from God can you name, and how might you share one of them with someone this week?
  • In what ways do you find yourself offering God rituals or routines while your heart is still far from doing his will?
  • How do you respond when old trouble returns after a season of relief, and do you bring that honest need to God?
  • Who in your life needs to hear about God’s faithfulness, and what would it look like to speak that truth to them?

A Prayer From Psalm 40

Lord, I have waited for you longer than I wanted to, and I am grateful that you heard me. Thank you for lifting me out of places I could not climb out of alone and for giving me firm ground under my feet. Put a new song in my mouth, and let my life point others toward trusting you.

Where trouble has returned, I come to you honestly, admitting that my heart has failed and my sins feel heavy. Do not delay, because I am poor and needy and you are my help and my deliverer. Teach me to delight in your will and to speak of your faithfulness without holding back. Amen.

Frequently Asked Questions

Who wrote Psalm 40?

Psalm 40 is traditionally attributed to David, though the text does not name its author in the opening lines. Many scholars think the psalm was shaped over time for use in Israel’s worship. Its message of thanksgiving and trust remains the focus for readers today.

Why does Psalm 40 move from joy to distress?

The psalm recalls a past rescue and then describes new trouble that has surrounded the writer. This shows that gratitude for God’s help does not remove the need for prayer in later hard seasons. The shift is an honest picture of ongoing dependence on God.

How is Psalm 40 used in the New Testament?

Hebrews 10 quotes the language of verses 6 to 8 and applies it to Christ’s willing obedience. Christian readers often see this connection as an important way of reading the psalm. The original psalm, however, speaks first of the writer’s own heart before God.

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

1 May 2026

Ezekiel 38 Explanation

Ezekiel 38 is a prophetic oracle in which God sets his face against Gog, a leader from the land of Magog who gathers a vast coalition of nations to attack...