This psalm describes a royal story of God rescuing his king. A similar version of this psalm appears in 2 Samuel 22:1–51. The psalm encourages those who hear the earlier prayers for help in Psalms 16 and 17.
The psalmist describes the dramatic nature of God’s rescue in three different ways (Psalm 18:7–15, 16–19, 30–36). The psalm also offers hope that a future Son of David will completely defeat evil (Psalm 18:43–50; compare Psalm 2).