2 Samuel 22–23: The Eternal Promise

We have arrived at the end of the Book of Samuel. Samuel begins with a song and ends with a song. Although Samuel is primarily a narrative genre, it opens and closes with a poem. This arrangement is no coincidence. The song of David, the greatest king in Israel’s history, echoes the song of Hannah, a humble woman. Together, they construct the overarching theme of the entire book. Through poetry, God gathers and summarizes the fluid narrative of Samuel, revealing the core theme embedded within these songs.

Before we begin, let us look at the structure of this final section. 2 Samuel 21–24 forms a relatively independent unit placed by the editor at the conclusion of the book. The structure of chapters 21–24 is remarkably clear—a chiasm or "sandwich" structure with matching ends:

  • Outer Layer (21:1–13 & Chapter 24): Both recount similar events where the king’s sin brings divine judgment, followed by an altar sacrifice that appeases God’s wrath. Chapter 21 focuses on Saul’s sin, resulting in the execution of his descendants; Chapter 24 focuses on David’s sin, where God’s anger is appeased through David’s sacrifice at the threshing floor of Araunah.
  • Middle Layer (21:15–22 & 23:8–39): Lists of David’s mighty warriors.
  • Core Center (Chapter 22 & 23:1–7): Two poems by David, which are also two prayers.

If you have eaten a burger or a sandwich, you know that the filling in the middle is the main event; a sandwich is usually named after what is inside. The same applies to Hebrew literary design. The two poems in Chapter 22 and 23:1–7 are the focal point of this final section of Samuel. What is this core focus? Let us discover it together through David’s songs.

1–4 A God Worthy of Trust

2 Samuel 22:1–4 (ESV)

And David spoke the words of this song to the Lord on the day when the Lord delivered him from the hand of all his enemies, and from the hand of Saul. He said: “The Lord is my rock and my fortress and my deliverer, my God, my rock, in whom I take refuge, my shield, and the horn of my salvation, my stronghold and my refuge, my savior; you save me from violence. I call upon the Lord, who is worthy to be praised, and I am saved from my enemies.”

Brothers and sisters, David uses a rich variety of images to describe God. I cannot help but ask: To you, what kind of God is God? You may answer silently in your heart or out loud. If we asked everyone in the church, the answers might vary, yet certain groups would share similar responses.

For example, if I ask second-generation Christians in the church, many might inwardly feel that God is "my parents' God." Indeed, every second-generation believer faces the challenge of allowing the God of their parents to become their own God. Similarly, if you ask a seminary student, their initial reaction might be: "God is the Triune God—Father, Son, and Holy Spirit. Don't ask for details, because as professors say, anyone who claims to fully explain the Trinity is a heretic!" A seminarian must also allow the God residing in textbooks and systematic theology to become the God of their personal life.

What about a pastor? What kind of God is God to a pastor? A pastor might say: "God is the great God I proclaim from the pulpit every Sunday." Is there a problem with that? Pastors face the same test: the God they proclaim must become the God they personally experience in life. In my personal experience, preaching about this God is often much easier than truly experiencing Him.

Every one of us needs to experience God. We must take what we learn in small groups and sermons and trust Him in the midst of real-life experiences outside church walls. David began by using 12 different terms to describe the God he experienced:

  • When facing wild beasts in the wilderness, the Lord was the horn of his salvation.
  • When facing the giant Goliath, the Lord saved him from violent men.
  • When hiding behind rocks from Saul, the Lord was his rock and fortress.
  • When fleeing from Absalom, the Lord was his refuge and stronghold.

It was these concrete experiences that enabled David to address God in this way in his psalm!

5–20 God’s Deliverance of David

2 Samuel 22:5–20 (ESV)

“For the waves of death encompassed me, the torrents of destruction assailed me; the cords of Sheol entangled me; the snares of death confronted me. In my distress I called upon the Lord; to my God I called. From his temple he heard my voice, and my cry came to his ears. Then the earth reeled and rocked; the foundations of the heavens trembled and quaked, because he was angry. Smoke went up from his nostrils, and devouring fire from his mouth; glowing coals flamed forth from him. He bowed the heavens and came down; thick darkness was under his feet. He rode on a cherub and flew;he was seen on the wings of the wind. He made darkness his canopy around him, thick clouds, a gathering of water. Out of the brightness before him coals of fire flamed forth. The Lord thundered from heaven, and the Most High uttered his voice. And he sent out arrows and scattered them; lightning, and routed them. Then the channels of the sea were seen; the foundations of the world were laid bare at the rebuke of the Lord, at the blast of the breath of his nostrils. He sent from on high, he took me; he drew me out of many waters. He rescued me from my strong enemy, from those who hated me, for they were too mighty for me. They confronted me in the day of my calamity, but the Lord was my support. He brought me out into a broad place; he rescued me, because he delighted in me.”

In this section, verses 5–7 record David’s cry in distress. Some speculate this song was composed when David ascended the throne. Regardless, it was sung among the people and used to instruct them. In a public song like this, David makes no attempt to hide his lowest moments. He says, "The waves of death encompassed me; the torrents of destruction assailed me." People singing this song would naturally recall his humbling experiences recorded in Samuel—hiding in caves from Saul, acting insane among foreigners, and being cursed and pelted with dirt while fleeing. This great king recorded these moments so we might see that his greatness lay not in his own strength, but in his cry during affliction and God’s deliverance.

Verses 8–20 describe God’s response to David’s prayer. Do these descriptions sound familiar?

  • Verse 16: "Then the channels of the sea were seen... at the blast of the breath of his nostrils"—This refers to crossing the Red Sea (Exodus 14:21).
  • Verses 8 & 14: "The earth reeled and rocked..." and "The Lord thundered from heaven"—This refers to God’s covenant at Mount Sinai (Exodus 19:18).

David leads the people to remember how God previously led Israel and the covenant He made with them.

David himself did not live through the Red Sea crossing or Mount Sinai; those were stories he learned as a child. How, then, did David know this supernatural God?

He knew Him through daily experience:

  • When his stone struck Goliath’s forehead, he knew God guided its trajectory.
  • When Saul was about to capture him but turned back due to a Philistine invasion, he knew God protected him.
  • When God struck Nabal, David saw that God kept him from shedding innocent blood.
  • When Absalom followed Hushai’s advice instead of Ahithophel’s, David knew God’s covenant with him remained intact.

Experiencing all this led David to declare: "He sent from on high, he took me; he drew me out of many waters." David uses three actions—sent from on high, took me, drew me out. He saw that at every turning point in life, God actively intervened. Though these moments did not look like parting a sea, the God who delivered him from affliction was the very same God who rescued Israel from Egypt!

Brothers and sisters, we are much like David today. Most of us will never witness a physical, supernatural miracle like the parting of the Red Sea. How do we experience this supernatural God? David saw God keeping His covenant. Today, we have the eternal new covenant established through Jesus Christ. Do we view every grace in life as mere coincidence? Pain is common on our life journey, but every hardship is an opportunity to grasp God’s grace and know this supernatural God. See how God reaches down from on high, holds you, draws you out of deep waters, and leads you into a spacious place. Make the God of Israel the God of your own life.

21–31 The Righteous King and the Righteous God

2 Samuel 22:21–31 (ESV)

“The Lord dealt with me according to my righteousness; according to the cleanness of my hands he rewarded me. For I have kept the ways of the Lord, and have not wickedly departed from my God. For all his rules were before me, and from his statutes I did not turn aside. I was blameless before him, and I kept myself from guilt.Yourself pure, and with the crooked you deal shrewdly. For you save a humble people, but your eyes are on the haughty to bring them down. For you are my lamp, O Lord, and my God lightens my darkness. For by you I can run against a troop, and by my God I can leap over a wall. This God—his way is perfect; the word of the Lord proves true; he is a shield for all those who take refuge in him.”

Verses 21–25 speak of David’s righteousness, while verses 26–31 speak of God’s righteousness.

Reading this, you might wonder: How could David claim this? Isn't he being shameless? When we studied this passage last week, a brother frowned as he read it. It seems contrary to fact; Scripture exposes David’s sins without reservation—his adultery with Bathsheba and his calculated murder of Uriah. How can David speak of "righteousness" and "cleanness of hands"? Was he just offering insincere, pious words to build a public persona?

Certainly not. David wrote this from his heart out of a lifetime of experience. Two key factors help us understand this:

  1. God’s True Forgiveness:When Nathan confronted David, David truly repented, and Nathan declared: "The Lord has taken away your sin" (2 Sam 12:13). We may hold onto David’s fall, but God forgave him. In Psalm 51, David prayed: "Wash away all my iniquity and cleanse me from my sin... Wash me, and I will be whiter than snow." The emphasis here is not on David’s inherent virtue, but on what God accomplished for David—God washed away his sin. By God’s act, David’s hands were made clean again.
  2. God’s Covenantal Commitment:God forgave David because of His commitment to the covenant, not because of David’s perfection. In 2 Samuel 7:14–15, God promised: "When he does wrong, I will punish him... But my love will never be taken away from him, as I took it away from Saul." God’s covenantal commitment was the foundation of David’s prayer. That is why David could say in verse 20, "because he delighted in me."

Astonishingly, David learned to view himself the way God viewed him—as one whose sins were washed clean by grace.

We have all sinned like David. Scripture says to hate is murder, and to look with lust is adultery. No matter how devoted our past may have been, we must face our sin and its heavy consequences. Yet when we turn and repent, God declares us forgiven through the covenant established by Christ’s blood. We can stop defining ourselves by our sin and start viewing ourselves through God's eyes—as justified people.

In verses 26–31, David turns his gaze to God’s righteousness. Verse 28 echoes Hannah’s prayer (1 Sam 2:6–7): God reverses human pride and humility. When God intervenes, He exalts the humble and judges the proud. This was His promise to Hannah and David, and it is His call for us to come before Him in humility and repentance.

32–46 God Gives Strength to His King

2 Samuel 22:32–46 (ESV)

“For who is God, but the Lord? And who is a rock, except our God? This God is my strong refuge and has made my way blameless. He made my feet like the feet of a deer and set me secure on the heights. He trains my hands for war, so that my arms can bend a bow of bronze. You have given me the shield of your salvation, and your gentleness made me great. You gave a wide place for my steps under me, and my feet did not slip; I pursued my enemies and destroyed them, and did not turn back till they were consumed. I consumed them; I thrust them through, so that they did not rise; they fell under my feet. For you equipped me with strength for the battle; you made those who rise against me sink under me. You made my enemies turn their backs to me, those who hated me, and I destroyed them. They looked, but there was none to save; they cried to the Lord, but he did not answer them. I beat them fine as the dust of the earth; I crushed them and stamped them down like the mire of the streets. You delivered me from strife with my people; you kept me as the head of the nations; people whom I had not known served me. Foreigners came cringing to me; as soon as they heard of me, they obeyed me. Foreigners lost heart and came trembling out of their fortresses.”

Verses 32–34 remind us of God's majesty, calling Him "Rock" and using both Yahweh (His covenant name) and Elohim (His creator name). He is both the Covenant God and the Creator of all.

Verses 35–43 show God’s guidance. God did not remove David’s hardships; instead, He gave him strength, courage, and training to face them. David attributes his growth—from a shepherd boy to a champion and king—entirely to God's hand.

Verses 44–46 describe David becoming "head of nations." Yet historically, Israel was small, and David’s reign ended with internal rebellion and division. Even in chapter 21, giants reemerged and nearly killed him. How could David speak of being head of nations?

Because the true hero of this poem is God, and the true subject is the Messiah (the Anointed One). David was an imperfect type of the Messiah. His reign achieved partial success, pointing us toward the arrival of the ultimate Anointed King.

47–51 A God Worthy of Trust

2 Samuel 22:47–51 (ESV)

“The Lord lives, and blessed be my rock, and exalted be my God, the rock of my salvation, the God who gave me vengeance and brought down peoples under me, who brought me out from my enemies; you exalted me above those who rose against me; yourescued me from the man of violence. For this I will praise you, O Lord, among the nations, and sing praises to your name. Great salvation he brings to his king, and shows steadfast love to his anointed, to David and his offspring forever.”

Having experienced all this, David becomes a worshiper leading nations in praise. He realizes the Messiah's rule is marked not merely by military conquest, but by global worship—blessing all nations through Abraham’s and David’s seed. Paul quotes verse 50 in Romans 15:9 to show that God’s plan was always intended for all peoples, not just Israel.

What gave David the courage to praise God among hostile foreign nations? Verse 51 gives the answer: he received "great salvation" and "steadfast love" through an eternal covenant. David looked beyond his immediate culture and anchored his heart in an eternal hope.

23:1–7 The Eternal Promise

2 Samuel 23:1–7 (ESV)

Now these are the last words of David: The oracle of David, the son of Jesse, the oracle of the man who was raised on high, the anointed of the God of Jacob, the sweet psalmist of Israel: “The Spirit of the Lord speaks by me; his word is on my tongue. The God of Israel has spoken; the Rock of Israel has said to me: When one rules justly over men, ruling in the fear of God, he dawns on them like the morning light, like the sun shining forth on a cloudless morning, like rain that makes grass to sprout from the earth. For does not my house stand so with God? For he has made with me an everlasting covenant, ordered in all things andsecure. For will he not cause to prosper all my help and my every desire? But worthless men are all like thorns that are thrown away, for they cannot be taken with the hand; but the man who touches them arms himself with iron and the shaft of a spear, and they are utterly consumed with fire.”

In verse 5, the Hebrew text can be understood as a rhetorical declaration: "Does not my house stand so with God? Has He not made with me an everlasting covenant?" David rests in the firmness of God’s covenant despite his family's failures. At the end of his life, David knew he was not the sinless Savior, and he fixed his hope on the coming Messiah.

Conclusion

The Book of Samuel begins with Hannah’s prayer and ends with David’s. In Hannah’s prayer, she prophesied that God would give strength to an anointed King. In David’s final song, we look back over a life of extraordinary triumphs and deep failures, of righteousness and severe falling.

Yet as David reached the end of his life, he did not boast in his achievements or drown in remorse. He anchored himself in God’s unbreakable covenant. He knew human promises end at death, but God’s covenant endures forever.

A thousand years later, Jesus Christ—the Son of David—arrived. Unlike David, Jesus had no sin of His own to pay for, nor did He establish His kingdom by force. He established a new covenant through His own body and blood, conquered death through His resurrection, and offered us eternal hope.

As Christians today, we share in this unbreakable covenant. We face battles and hardships, but "Who is God, but the Lord? And who is a rock, except our God?" May we look back on our lives filled with God’s grace, holding fast to His eternal promise.

Let us pray:

Dear Heavenly Father, by Your grace and through the precious blood of Christ, we are declared righteous. We thank You that we are no longer defined or bound by our sin. I pray for every brother and sister here: when we face afflictions, be our Rock, our Fortress, and our Refuge. Help us experience You in our daily lives and rely on You in humility. Grant us courage to praise Your name among the nations, just as David did. May the God of David be our God, and may Your salvation fill us with everlasting hope. In Jesus’ name we pray, Amen.