2 Samuel Chapter 22 Read as one passage

2 Samuel 22:22–23

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.

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

  1. 22For I have kept the ways of the LORD and have not wickedly departed from my God.

    "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.

    Full study →
  2. 23For all His ordinances are before me; I have not disregarded His statutes.

    "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).

    Full study →

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.
Every word
  1. כִּ֥י

    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.

  2. שָׁמַ֖רְתִּי

    shāmartî · H8104G

    keep, guard, watch, observe · v22

    '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.

  3. דַּרְכֵ֣י

    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.

  4. יְהוָ֑ה

    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.

  5. וְלֹ֥א

    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.

  6. רָשַׁ֖עְתִּי

    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.

  7. מֵאֱלֹהָֽי׃

    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.

  8. כָל־

    khol · H3605

    all, every · v23

    'All' his rulings, not a chosen few. The point is that David's attention was complete.

  9. מִשְׁפָּטָ֖יו

    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.

  10. לְנֶגְדִּ֑י

    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.

  11. וְחֻקֹּתָ֖יו

    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…'

  12. אָס֥וּר

    ʾā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').

  13. מִמֶּֽנָּה׃

    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.

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.

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

Original-language data: STEPBible TAHOT/TAGNT (CC BY 4.0).