Bibliva Commentary

Psalms 40

David celebrates God’s gracious deliverance from a desperate pit of affliction, responds with joyful obedience rather than mere ritual, and urgently seeks continued divine mercy and help amidst overwhelming personal distress.
“He set my feet on a rock, and gave me a firm place to stand.” — Psalms 40:2 WEB
CHAPTER: Psalms 40 (17 verses)

Psalm 40 is a powerful individual psalm of thanksgiving that transitions into an urgent lament, reflecting the dynamic realities of the believer’s journey with God. Positioned toward the end of Book I of the Psalter (Psalms 1–41), this psalm highlights David’s experience of divine rescue followed by his re-commitment to God’s will. Structurally, the psalm moves from joyful praise for past deliverance (verses 1–10) to desperate prayer in the face of ongoing trials and human weakness (verses 11–17). Culturally and historically, David contrasts empty animal sacrifices with heartfelt obedience, reflecting an old-covenant understanding that prefigures the messianic fulfilment highlighted in Hebrews 10. Theologically, the psalm reveals Jehovah as a sovereign Deliverer who listens to patient cries, demands heart devotion over hollow ritual, and remains mindful of the poor and needy. Psalm 40 matters because it teaches believers how to praise God for past victories while remaining entirely dependent on His mercy for present and future tribulations.

1. Deliverance from the Pit and a New Song of Praise

Psalms 40:1-5

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. 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, 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.

Commentary

  • Patient Waiting and God's Response: David opens by declaring that he waited patiently for Jehovah. Divine deliverance often follows periods of testing where faith is refined. God does not ignore the persistent cry of His servants; He turned to David and heard his cry.
  • Rescued from the Miry Clay: The imagery of a 'horrible pit' and 'miry clay' vividly illustrates helplessness, peril, and moral or situational sinkholes. God does not merely assist human self-effort; He reaches down into the depth of desperation, pulling the believer out and establishing their feet securely upon a solid rock.
  • A New Song of Public Witness: Rescue leads directly to worship. God puts a 'new song' into David's mouth, transforming personal testimony into public praise. When onlookers witness God's dramatic intervention, it inspires reverent awe and leads others to place their trust in the Lord.
  • The Incalculable Works of God: Reflecting on God's character, David pronounces a blessing on the one who trusts in Jehovah rather than relying on proud men or false idols. God's marvellous deeds and loving thoughts toward His people are innumerable, exceeding human calculation.

Insight: God's rescue transforms our deepest pits of despair into platforms of praise that point others to His salvation.

2. Delight in God’s Will and Open Proclamation

Psalms 40:6-10

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.” 9 I have proclaimed glad news of righteousness in the great assembly. Behold, I will not seal my lips, 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.

Commentary

  • Heart Obedience Over Mere Ritual: David recognises that outward sacrifices and burnt offerings are worthless to God when detached from heart submission. The phrase 'you have opened my ears' signifies divine enlightenment and readiness to listen and obey God's word willingly.
  • The Scroll and Messianic Fulfilment: David declares his readiness to perform God's will as recorded in the scroll of the Law. The writer of Hebrews applies verses 6–8 directly to Jesus Christ (Hebrews 10:5–10), revealing that Christ's incarnation and perfect sacrifice fulfilled what animal offerings could only foreshadow.
  • Unashamed Proclamation of Righteousness: Obedience naturally overflows into public testimony. David refuses to seal his lips or conceal God's righteousness, faithfulness, and loving kindness from the great assembly of God's people.

Insight: True worship is not measured by external religious rituals but by a heart that delights to do God's will and unashamedly speaks of His salvation.

3. A Cry for Mercy and Urgent Deliverance

Psalms 40:11-17

11 Don’t withhold your tender mercies from me, 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, LORD, to deliver me. Hurry to help me, LORD. 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.

Commentary

  • Sins Overtaken and Heart Failure: The tone shifts dramatically to a petition for ongoing preservation. David acknowledges that innumerable evils and his own iniquities have surrounded him to the point where he cannot even look up. True humility recognises that even after major victories, believers remain vulnerable to sin and sorrow.
  • Prayer Against Adversaries: David asks that those seeking his destruction be turned back and brought to dishonour. Their mocking taunts ('Aha! Aha!') are met with David's appeal for God's divine justice and protection.
  • Exalting the Lord in Poverty and Need: In contrast to his enemies, David prays for all who seek God to rejoice and continually magnify Jehovah. Identifying himself as 'poor and needy', David anchors his hope in the truth that God thinks upon him and will not delay His help.

Insight: Even when surrounded by our own flaws and ruthless opponents, we can approach God with absolute confidence that He remembers the needy.

Theological Significance

  • Divine Salvation and Providence: Psalm 40 emphasises that salvation is entirely the work of God. Man cannot pull himself out of the miry clay; divine intervention is essential. God's thoughts and plans toward His people are active, continuous, and filled with grace.
  • The Superiority of Heart Devotion: The psalm highlights the Old Testament theme that ritual without righteousness is unacceptable to God. Sacrifices were designed to express heart devotion, not to act as mechanical substitutes for obedience.
  • Messianic Fulfilment in Christ: Through the lens of Hebrews 10, Psalm 40 reveals Jesus Christ as the ultimate fulfilment of David's words. Christ offered perfect, delight-filled obedience to the Father's will, offering Himself as the final sacrifice for sin.
  • The Interplay of Praise and Prayer: The psalm demonstrates that past answers to prayer provide the foundation for present petitions. Praise for past rescue fuels faith during present trials, showing that lament and thanksgiving comfortably coexist in true spiritual life.

Major Themes

  • Waiting Patiently on the Lord
  • Deliverance from Deep Affliction
  • Joyful and Obedient Heart Worship
  • Unashamed Public Testimony
  • The Inestimable Works of God
  • Humility and Dependence in Suffering

Practical Applications

  • Wait Patiently during Trials: When trapped in difficult situations, avoid taking ungodly shortcuts. Wait actively upon God in prayer, trusting that He hears your cry and will establish your feet in due time.
  • Prioritise Internal Obedience over External Routine: Evaluate your spiritual habits to ensure that church attendance, service, and giving flow from a heart that delights in God's word rather than mere religious duty.
  • Share Your Testimony Boldly: Refuse to hide God's faithfulness in your life. Speak openly within your family, church, and community about how God has saved, sustained, and guided you.
  • Maintain Humility in Times of Need: Acknowledge your personal limitations and daily dependence on God. When burdened by past mistakes or present pressure, run boldly to God's throne of grace for timely help.

Final Insight

Psalm 40 provides a realistic and profoundly hopeful blueprint for the Christian life. By connecting joyful remembrance of past deliverance with honest prayer in present trials, David teaches us that God is both our rock of security and our immediate help in trouble. Christ ultimately fulfilled this psalm by offering perfect obedience to the Father, lifting us out of the spiritual pit of sin and death. As we walk through life's shifting seasons, may our lips continually exalt the Lord, knowing that though we are poor and needy, the God of heaven remembers us, cares for us, and will not delay His deliverance.

Possible Sermon Titles from the Chapter