Shared ground
These verses present the song as a response after rescue, not a request made before it. The heading frames the whole poem as David speaking to Yahweh after being delivered from “all his enemies,” and it highlights Saul as a central threat within that story.
David’s opening lines stack protective images: rock, fortress, deliverer, refuge, shield, and “horn of my salvation.” Taken together, these metaphors make one main claim: when David is threatened, he experiences Yahweh as reliable protection and rescue.
The passage also links prayer and praise to deliverance. David describes a regular pattern: he calls on Yahweh (whom he describes as worthy of praise), and he is saved from enemies. In the crisis description, danger feels like death closing in, yet David’s cry is heard “out of his temple.”
Where interpretation differs
“In the day” (v.1): Some read it as one particular decisive day of rescue; others read it as a summary heading for a season of deliverances that culminated in security.
“He heard…out of his temple” (v.7): Some take “temple” as pointing to a recognized earthly sanctuary connected with Yahweh’s presence; others understand it more generally as Yahweh’s heavenly dwelling, using worship language to say God heard and responded.
“Floods of ungodliness” (v.5): Some understand “ungodliness” mainly as wicked human opponents; others hear it as a way of describing disaster and chaos as if it were a destructive force pressing in.
Why the disagreement exists
The song uses poetic compression and metaphor. Headings can summarize long stretches of life (“in the day”), and the poem’s “temple” language can function as either a concrete location or a conventional way of speaking about God’s dwelling. Likewise, “ungodliness” in poetry can point either to morally evil people or to terrifying, disordering events that feel like they carry moral threat.
What this passage clearly contributes
Explicitly, the text portrays Yahweh as David’s personal rescuer: “my rock…my fortress…my deliverer,” and “my savior, you save me from violence.” It also sets a basic sequence for the whole song: deliverance leads to testimony; testimony includes both praise (“worthy to be praised”) and dependence (“I called”); and the crisis is described in death-and-underworld imagery (“death,” “Sheol”) that highlights how close the danger felt. The passage’s theology is grounded in experienced rescue rather than abstract theory, and it introduces the poem’s central claim that Yahweh hears and acts when David cries out.