Menu

2 Samuel 22

AOSN

2 Samuel 22:1-51

This prayer of thanksgiving (also recorded in Psalm 18) appears near the end of David's story. But David likely prayed it much earlier in his life. This prayer and Hannah’s prayer in 1 Samuel 2:1–10 together enclose the book of Samuel with an inclusio (literary bookends). Hannah was saved from being unable to have children, and David was saved from his enemies.

The hymn's placement also provides a parallel to Moses. Both Moses and David's stories end with a song praising God (see also Deuteronomy 31:30–32:43). Both emphasize God as a “Rock” (Deuteronomy 32:4, 15, 18, 30, 31; 2 Samuel 22:2, 3, 32, 47). Both are followed by second and shorter poetic pieces:

2 Samuel 22:2

  • Hannah said, there is no Rock like our God (1 Samuel 2:2). David also called the Lord his rock, remembering how God saved him from Saul at the Rock of Escape (1 Samuel 23:28). The Hebrew word for “rock” in 2 Samuel 22:3 (different from 22:2) is used in 1 Samuel 24:2 to describe the Rocks of the Wild Goats, where Saul thought David was hiding.

  • fortress: This word also referred to David’s physical stronghold (1 Samuel 22:4), where he and his men hid from Saul.

2 Samuel 22:3

The phrase the horn of my salvation is similar to Hannah’s words the LORD in whom my horn is exalted (1 Samuel 2:1).

2 Samuel 22:7

Sanctuary sometimes refers to the tabernacle or the temple. However, in this context, His temple means God's heavenly home. The tabernacle and temple did not exist at this time.

2 Samuel 22:8-20

David clearly explains how God listened to him (2 Samuel 22:7). He describes God's rescue as a theophany (a visible sign of God's presence; see study notes on Exodus 19:16–25; Deuteronomy 1:33), which reminds us of God's appearance at Mount Sinai (Exodus 19:16–20; compare Judges 5:4–5).

2 Samuel 22:14

The LORD thundered from heaven: See 1 Samuel 2:10.

2 Samuel 22:21-30

David's rescue and success were linked to his obedience to God. God rewards those who live in a way that pleases him (see also Leviticus 26:1–13; Deuteronomy 28:1–14; Psalm 1).

2 Samuel 22:22-24

David wrote these words long before his sin with Bathsheba (2 Samuel 22:1). His statement about being blameless does not mean he was perfect. He was just saying he had kept the covenant and followed its law.

2 Samuel 22:31-51

David praises God for saving him in the past and for promising blessings to his family in the future (see 2 Samuel 7:8–16).

2 Samuel 22:32

See Isaiah 43:11; 44:6, 8; 45:5, 21.

2 Samuel 22:34

David likely saw deer while he hid in the hills and caves for many days (1 Samuel 19:11–27:12).

2 Samuel 22:38-40

Before David became king, he achieved impressive military victories (see 1 Samuel 17:12–58; 18:17–30; 23:1–5; 30:1–31). Instead of boasting, David praised God and credited him for the success.

2 Samuel 22:51

Compare 2 Samuel 7:5–29; 1 Samuel 2:10.

Aquifer Open Study Notes © 2026 Mission Mutual, an adaptation of the Tyndale Open Study Notes © 2023 Tyndale House Publishers. Licensed under CC BY-SA 4.0.

Everything we make is available for free because of a generous community of supporters.

Donate