2 Samuel Chapter 22 Read as one passage
2 Samuel 22:22–24
Put together from the study of each verse: what each one meant, in order, with the background, words and debates of the whole passage said once.
22For I have kept the ways of the LORD and have not wickedly departed from my God. 23For all His ordinances are before me; I have not disregarded His statutes. 24And I have been blameless before Him and kept myself from iniquity.
What the first hearers heard
To Israelite hearers, especially in temple worship where the parallel Psalm 18 was sung, this line was the king's oath of loyalty spoken back to his divine Lord. In the ancient world a vassal or servant's whole case rested on whether he had kept faith with his master. David's claim is that he stayed on Yahweh's road and never defected. So his deliverance from Saul and his enemies was not luck or raw power. It was the just judge vindicating the loyal party.
The vocabulary would have sounded like Deuteronomy: "keep", "the ways of Yahweh", and (in the next verse) "ordinances" and "statutes". The king was supposed to be the model covenant-keeper (Deut 17:18–20), and this song presents David as that king. It also set the standard by which later kings were measured. Kings repeatedly judges them by whether they "walked in the ways of David" (e.g. 1 Kgs 3:14; 11:33). The same book frankly adds the exception, "except in the matter of Uriah the Hittite" (1 Kgs 15:5). Hearers knew both the ideal and the record. The claim was about loyalty to Yahweh, never turning to other gods or abandoning him, and about being the wronged party in his struggles. It was not a denial of every failure.
From the study of 2 Samuel 22:22.
Verse by verse
-
22For I have kept the ways of the LORD and have not wickedly departed from my God.
Full study →"Because I have guarded the roads Yahweh marked out and stayed on them, and I have not become the guilty one by walking away from my own God."
The verse explains the previous line ("Yahweh repaid me according to my righteousness"). It is a plea of not guilty made before God as judge. In the first half David says he kept watch over Yahweh's ways, the paths of conduct Yahweh sets, the way a guard keeps a post. In the second half he says he did not act guiltily away from his God. The Hebrew packs "departing" into the little word "from", so the wrong he denies is desertion: leaving the God who is personally "mine". The word for "wickedly" means being the guilty party in a case, the opposite of being "in the right" (verse 21). It is a claim of covenant loyalty and of being the innocent party in his conflicts. It is not a claim never to have sinned.
-
23For all His ordinances are before me; I have not disregarded His statutes.
Full study →"Because every one of his rulings stayed right in front of my eyes, and as for his fixed decrees, I never stepped off the road they mark out."
This verse explains the claim of the verse before it, "I have kept the ways of the LORD." David speaks as a king answering to a greater King. God has issued rulings (the just decisions of a judge-king) and statutes (decrees carved and fixed, not up for revision). David says he kept all the rulings in his line of sight, as a traveller keeps a landmark in view. He also says he did not turn aside from the statutes. That is the picture of someone who stays on the road and does not drift to the right or the left. The verb is open-ended in time, so the line can mean both "I did not turn aside" and "I do not turn aside." It describes a settled way of life.
The words are the vocabulary of Deuteronomy's law for kings. There the king must keep the law beside him, read it all his life, and "not turn aside… to the right or to the left" (Deut 17:18–20). David's song claims he did just that. In this hymn of thanks, that claim is the reason God rescued him (vv. 21, 25).
-
24And I have been blameless before Him and kept myself from iniquity.
Full study →"I was whole toward Him, with no divided loyalty and nothing crooked in me, like an offering without blemish. And I stood guard over myself, so that the twisted wrong, and the guilt that comes with it, never became mine."
David is not claiming to be sinless. "Blameless" here (Hebrew tamim) is the same word used for a sacrificial animal that is whole and without defect. In a person it means integrity: a heart that is all in, undivided in its loyalty to the LORD. The word "to Him" points the claim at God. This is about how David stood in the relationship, not a general score of good deeds.
The second line pictures a watchman. David says he kept watch over his own life, as Deuteronomy urges Israel to "guard yourself". What he guarded against is ʿavon, a word that covers the crooked act, the guilt it creates and the consequences it drags behind it. "My" may mean "the guilt that would have attached to me" or "the wrong I was prone to"; either way, it is something he avoided, not something he confesses.
The verse sits at the centre of a frame: "the LORD has repaid me according to my righteousness" (v. 21) and the same again in verse 25. It gives the reason. God dealt faithfully with David because David was faithful to Him, and verse 26 goes on to say that "with the faithful You show Yourself faithful".
Where the English drifted
-
in v22
wickedly
rāshaʿ
- What we hear
- Sinister, monstrous evil; the behaviour of a villain. A reader may hear David claiming he never did anything truly evil, which looks absurd after the Bathsheba story.
- What they heard
- Being the guilty party, in the wrong before a judge (the opposite of tsaddiq, 'in the right'). With 'from', it means guiltily deserting one's God. It is a verdict about where one stands, not a boast of moral perfection.
-
in v23
judgments (KJV, YLT)
mishpāṭîm
- What we hear
- God's verdicts of punishment or condemnation, or else personal opinions.
- What they heard
- The rulings and just requirements God has laid down as judge-king, his body of decisions about what is right. Here they are things to be kept in view and obeyed, not penalties being suffered.
-
in v24
perfect (WEB, YLT; KJV elsewhere for this word)
tamim
- What we hear
- Morally flawless; never having done anything wrong; sinless.
- What they heard
- Whole, complete, without defect: integrity and undivided loyalty, as in an unblemished offering. A tamim person could still sin and repent (Noah, Abraham and David are all called or call themselves tamim).
-
in v24
iniquity
ʿavon
- What we hear
- An old-fashioned word for wickedness or sin in general.
- What they heard
- A crooked act together with the guilt it fastens on the doer and the consequences that follow: something one 'bears'.
Every word
-
כִּ֥י
kî · H3588A
for, because · v22, v23
Gives the reason for verse 21: Yahweh repaid David 'according to my righteousness' because of what follows. It ties the claim of reward to a claim of conduct.
-
שָׁמַ֖רְתִּי
shāmartî · H8104G
keep, guard, watch, observe · v22, v24
'I have kept' in the sense of guarding and carefully observing, as a watchman keeps a post. The completed verb form presents David's loyalty as an established record looking back over his life.
-
דַּרְכֵ֣י
darkê · H1870G
way, road, path; conduct · v22
'The ways of' — the paths Yahweh marks out for people to walk in, i.e. the conduct he requires. The picture is of a road one stays on rather than leaves.
-
יְהוָ֑ה
YHWH · H3068G
Yahweh (the LORD) · v22
Israel's God by his personal name; the ways belong to him, not to David's own sense of right.
-
וְלֹ֥א
wəlōʾ · H3808
and not · v22, v23
Introduces the negative half of the claim, mirroring the positive first half: kept the way / did not leave it.
-
רָשַׁ֖עְתִּי
rāshaʿtî · H7561
be guilty, be in the wrong, act wickedly · v22
'I have been in the wrong / acted wickedly.' The root carries a strong legal flavour: the rashaʿ is the guilty party. Combined with 'from', it means to act guiltily by going away from God.
-
מֵאֱלֹהָֽי׃
mēʾĕlōhāy · H0430G
from my God · v22
'From' (min) plus 'my God'. The 'from' implies movement away, so the clause means 'I have not guiltily departed from my God'. 'My God' stresses a personal, covenant bond that David claims not to have betrayed.
-
כָל־
khol · H3605
all, every · v23
'All' his rulings, not a chosen few. The point is that David's attention was complete.
-
מִשְׁפָּטָ֖יו
mishpāṭāw · H4941G
judgment, ruling, ordinance, justice · v23
'His rulings': the decisions and just requirements God has laid down, like the case decisions of a judge-king. In English, 'judgments' can sound like punishments, but that is not the meaning here.
-
לְנֶגְדִּ֑י
lᵉnegdî · H5048
in front of, opposite, before · v23
'In front of me' or 'in my view.' David kept God's rulings in his line of sight, the way a traveller keeps a landmark in view. It describes steady attention, not past experience.
-
וְחֻקֹּתָ֖יו
wᵉḥuqqōtāw · H2708
statute, fixed decree · v23
'His statutes': fixed, set-down decrees. The root means to carve or engrave. The word is placed first for emphasis: 'as for his statutes…'
-
אָס֥וּר
ʾāsûr · H5493I
turn aside, depart, swerve · v23
'I turn aside.' The picture is of leaving a road. The verb form is open-ended. In this poem it can describe the past ('I did not turn aside') or a settled habit ('I do not turn aside').
-
מִמֶּֽנָּה׃
mimmennâ · H4480A
from (+ 'it/her') · v23
'From it.' The 'it' is feminine and singular, and it points back to the statutes treated as one whole body. David did not step off the path they mark out.
-
וָאֶהְיֶ֥ה
vaʾehyeh · H1961
and I was · v24
The 'and' plus past-narrative form carries on David's account of how he has lived. It describes a past course of conduct, not a one-off moment, and it explains why the LORD has 'repaid' him (vv. 21, 25).
-
תָמִ֖ים
tamim · H8549
whole, complete, without blemish; blameless · v24
The central claim. David says he was whole and undivided in his loyalty, with nothing crooked or held back, the way an offering had to be whole and without defect. It is a claim of integrity, not of never having sinned.
-
ל֑וֹ
lo · H9033
to him · v24
'Toward him' or 'in relation to him'. The wholeness is pointed at God: it describes a relationship of loyalty more than a general moral record. Psalm 18 has 'with him'.
-
מֵעֲוֹנִֽי׃
meʿavoni · H5771
from my iniquity / guilt · v24
'From my ʿavon': from the twisted wrongdoing, and the guilt it brings, that would otherwise have been mine. 'My' suggests either the guilt he would have taken on or the wrong he was personally prone to; it does not admit to guilt he actually had.
The world behind it
The song and its occasion. 2 Samuel 22 is a royal thanksgiving song, almost word for word the same as Psalm 18. Its heading (22:1) ties it to "the day Yahweh delivered him from the hand of all his enemies and from the hand of Saul." It stands in the closing appendix of Samuel (chapters 21–24), which gathers material from across David's life rather than following the story in order.
A courtroom plea. Verses 21–25 are a "protestation of innocence", a known form in Israel and the wider ancient Near East. The speaker states before the divine judge that he is in the right. Compare Job 31, Psalm 7:3–8, Psalm 26, and, outside Israel, the Egyptian "negative confession" of the Book of the Dead, chapter 125 ("I have not done wrong..."). Kings throughout the region also described themselves as faithful servants of their god, rewarded for loyalty. The terms here (righteous/guilty, clean hands, repay) are legal words.
The Saul conflict. In the narrative of 1 Samuel, David repeatedly refuses to harm Saul and calls on Yahweh to judge between them: "Yahweh rewards every man for his righteousness and his faithfulness" (1 Sam 26:23; see also 24:11–15). The language of 2 Sam 22:21–25 matches that setting closely: David presents himself as the innocent party, persecuted without cause, whom God vindicated.
From the study of 2 Samuel 22:22.
Where scholars differ
in v22
How can David claim to have kept Yahweh's ways when Samuel itself records his adultery with Bathsheba and the killing of Uriah?
-
The song belongs to the Saul period, before 2 Samuel 11, and the innocence claimed is innocence in that conflict.
The heading (22:1) names deliverance 'from the hand of Saul'; the wording echoes David's own pleas in 1 Sam 24:11–15 and 26:23 ('Yahweh rewards every man for his righteousness').
-
The claim is about covenant loyalty (not deserting Yahweh, not worshipping other gods), not sinless perfection.
The idiom 'act guiltily from my God' denies desertion. Kings judges David as the loyal king whose heart was 'wholly true to Yahweh' (1 Kgs 11:4; 15:3), while noting the Uriah exception (1 Kgs 15:5).
-
The 'I' is the idealized Davidic king as Israel sings it in worship, and the editors of Samuel set the ideal beside the story deliberately.
The song's double use (Psalm 18 for liturgy, 2 Sam 22 in narrative). It is placed in the appendix after the Bathsheba story, and the next poem (23:1–7) is also about the ideal righteous ruler. Some read this as intentional tension or irony; others as an ideal set before later kings.
in v22
When was the song composed?
-
It is very early, possibly from David's time.
Archaic spelling and poetic forms (argued by F. M. Cross and D. N. Freedman), and the old storm-god imagery of vv. 8–16.
-
It took its present shape later, in royal temple worship, perhaps with Deuteronomy-style editing in vv. 21–25.
The concentration of Deuteronomic vocabulary in vv. 21–25 ('keep', 'ways', 'ordinances', 'statutes') leads some scholars to see these verses as a later layer.
in v23
How could David claim that he always kept God's rulings and never turned aside from his statutes, given Bathsheba and Uriah (2 Sam 11)?
-
The song comes from early in David's career, before his sin with Bathsheba.
The heading (22:1) ties it to deliverance 'from the hand of Saul.' The claims fit the period of David's flight, when he repeatedly refused to harm Saul (1 Sam 24, 26; compare 1 Sam 26:23, 'the LORD rewards each man for his righteousness').
-
The claim is about whole-hearted loyalty in the relationship with God, not sinless perfection.
Tāmîm (v. 24) means whole or sincere rather than flawless. The language matches a vassal's declaration of loyalty. Even Kings says David did right 'except in the matter of Uriah the Hittite' (1 Kgs 15:5), which treats his overall record as loyal despite a grave failure.
-
The portrait is a deliberate idealisation of David as the model king, shaped by Deuteronomy's ideas.
The vocabulary (rulings, statutes, not turning aside) is heavily Deuteronomic (Deut 17:18–20). David serves throughout Kings as the measuring stick for later rulers. Placing the song in the closing section, next to stories of David's failures (ch. 24), suggests the editors knew the tension and kept both.
in v23
Do 'his rulings' and 'his statutes' refer to the written Mosaic Torah?
-
Yes, at least in the song's final form: they point to the covenant law as set out in Deuteronomy.
The pairing ḥuqqôt/mišpāṭîm and the verb sûr match Deuteronomy's law for kings (Deut 17:18–20) and its frequent summary formula.
-
In the song's earliest form, they mean God's known requirements more generally, not necessarily a fixed written code.
Many scholars see the poem as old, perhaps older than Deuteronomy in its current form. Royal hymns across the ancient Near East speak of keeping a god's decrees without referring to a specific law book.
in v24
How can David claim to be 'blameless' when Samuel records his adultery with Bathsheba and the murder of Uriah?
-
The song comes from earlier in David's life, before chapter 11.
The heading ties it to deliverance 'from the hand of Saul' (22:1), and verses 21–25 echo David sparing Saul in 1 Sam 24 and 26 ('the LORD repays every man his righteousness', 26:23).
-
Tamim means wholehearted covenant loyalty, not sinlessness, so the claim stands even after his sins.
Noah and Abraham are called tamim but are not shown as sinless. 1 Kgs 11:4 and 14:8 praise David's heart as wholly true to the LORD (no idolatry), while 1 Kgs 15:5 still names the Uriah exception.
-
It is a conventional royal claim of innocence used in worship, voicing the ideal king.
It shares the same form as Psalms 7, 17 and 26 and ancient Near Eastern royal statements of loyalty to the gods. Some scholars treat the poem as a royal psalm used of the Davidic king and not as David's private testimony.
-
The final editors placed it deliberately so that the ideal is set beside the record.
The appendix (chs. 21–24) puts this song next to the census episode, where David confesses 'I have sinned greatly' (24:10). The whole book shows both David's loyalty and his failures.
in v24
What does 'my' in 'from my iniquity' refer to?
-
The guilt that would have attached to me had I done wrong.
ʿavon often means guilt borne by the doer (Lev 5:1; Num 14:34). This is the sense ESV's 'guilt' brings out, and it suits the 'repayment' frame of verses 21 and 25.
-
The wrong I personally was inclined to: a 'besetting' sin.
The possessive can point to a habit or tendency belonging to the speaker. Older commentators and devotional writers often read it this way, though the text does not name any specific sin.
Sources
- BDB s.v. שָׁמַר, דֶּרֶךְ, רָשַׁע
- HALOT s.v. רשׁע (qal 'be guilty, act wickedly'; hiphil 'declare guilty')
- TDOT, 'rāšaʿ' (Ringgren)
- LXX 2 Kingdoms 22:22; Psalm 17:22 LXX
- Vulgate 2 Samuel 22:22
- Psalm 18:21–25 (Heb. 18:22–26) parallel
- F. M. Cross & D. N. Freedman, 'A Royal Song of Thanksgiving: II Samuel 22 = Psalm 18', JBL 72 (1953)
- P. Kyle McCarter Jr., II Samuel (Anchor Bible)
- Book of the Dead, ch. 125 (negative confession)
- BDB s.v. מִשְׁפָּט, חֻקָּה, נֶגֶד, סוּר
- HALOT s.v. מִשְׁפָּט, חֻקָּה, סור
- Septuagint (Rahlfs), 2 Kingdoms 22:23; Psalm 17:23
- Masoretic Text (Leningrad Codex), 2 Samuel 22:23 and Psalm 18:23
- Deuteronomy 17:18–20; 1 Kings 15:5 (internal parallels)
- P. Kyle McCarter Jr., II Samuel (Anchor Bible), commentary on 2 Sam 22
- Frank Moore Cross & David Noel Freedman, 'A Royal Song of Thanksgiving: II Samuel 22 = Psalm 18'
- IVP Bible Background Commentary: Old Testament, on 2 Samuel 22
- BDB s.v. תָּמִים, שָׁמַר, עָוֺן
- HALOT s.v. תָּמִים; s.v. עָוֺן; s.v. שׁמר (hitpael)
- TDOT, K. Koch, 'ʿāwōn'; J. P. J. Olivier / B. Kedar-Kopfstein, 'tāmam'
- R. Knierim, Die Hauptbegriffe für Sünde im Alten Testament
- A. A. Anderson, 2 Samuel (Word Biblical Commentary)
- F. M. Cross and D. N. Freedman, 'A Royal Song of Thanksgiving: II Samuel 22 = Psalm 18', JBL 72 (1953)
- Septuagint, 2 Kingdoms 22:24; Vulgate, 2 Samuel 22:24
- Community Rule (1QS), usage of tmym derekh
Original-language data: STEPBible TAHOT/TAGNT (CC BY 4.0).