Sentence Flow · Clause Structure · English

2 Samuel 22 — clausal layoutשמואל ב כב

The same clause-by-clause layout, line-aligned with the Hebrew edition: each line renders one clause or discrete phrase, colored by the Hebrew clause's syntactic type, with indentation marking levels of subordination.

independentparticipialrelativecauseconditionalphrase modifierdashed = verbless / suspended

Flush-left = a main (independent) clause. Each dependent line begins directly beneath the word it attaches to in the line above — the anchor word is dotted-underlined, and lights up when you hover its dependent clause; each tag also names the attachment. A dashed border marks verbless, elliptical, or suspended lines. Where a long sentence's staircase runs wider than the page, the diagram scrolls sideways. (In print, or without JavaScript, lines fall back to stepped indent columns.)

Superscription 22:1

v. 1 — prose superscription: narrative speech formula + occasion (cf. Ps 18:1; Moses' song, Exod 15:1; Deut 31:30)

1
 And David spoke to YHWH the words of this songindependent — wayyiqtol speech formula וַיְדַבֵּר; the song follows flush-left. Ps 18:1 frames the same words as a heading (relative אֲשֶׁר, 'for the director, of the servant of YHWH')
 on the day YHWH delivered him from the hand of all his enemiesconditional — temporal: בְּיוֹם + qatal (asyndetic relative 'the day [that]'), trailing its main clause
 and from the hand of Saul.phrase modifier — Saul singled out: the whole David story of 1–2 Samuel gathered under one deliverance

Invocation: YHWH the Rock 22:2–4

vv. 2–3 — invocation as a list of refuge epithets in apposition to YHWH: crag, stronghold, deliverer // God of my rock // shield, horn, high refuge, place of flight, savior (terrain, armor, animal strength), ending in direct address

2
 He said:independent — speech formula, a single verb before the ATNACH; the song proper begins
AYHWH is my crag,independent — nominal clause, or vocative 'YHWH, my crag' (LXX κύριε); the first epithet סַלְעִי
 and my stronghold,phrase modifier — list of appositions; וּמְצֻדָתִי, the mountain stronghold (cf. 5:7)
 and my deliverer — mine;phrase modifier — וּמְפַלְטִי + emphatic לִי 'my very own', absent from Ps 18:3
3
Athe God of my rock,phrase modifier — apposition continues asyndetically; Samuel אֱלֹהֵי צוּרִי 'God of my rock' vs Ps 18:3 אֵלִי צוּרִי 'my God, my rock'; Ps 18:2 'I love you, YHWH, my strength' has no counterpart here
 in whom I take refuge;relative — asyndetic relative clause, resumptive בּוֹ; אֶחֱסֶה returns in the participle of v. 31
Bmy shield and the horn of my salvation,phrase modifier — armor and animal-strength images; מָגִנִּי recurs in vv. 31, 36
 my high refuge and my place of flight;phrase modifier — מִשְׂגַּבִּי ends Ps 18:3; וּמְנוּסִי and the rest of the verse are Samuel's alone
Cmy savior — from violence you save me.independent — third member: the title מֹשִׁעִי turns into a second-person yiqtol, תֹּשִׁעֵנִי; מֵחָמָס is answered by 'the man of violence' in v. 49 (an inclusio around the whole song)

v. 4 — the thesis of the song in miniature: I call // I am saved (synthetic: cry → rescue)

4
A'Worthy of praise!' I call on YHWH,independent — מְהֻלָּל fronted: the content of the cry or a title of YHWH; yiqtol of general truth
Band from my enemies I am saved.independent — Niphal yiqtol אִוָּשֵׁעַ picks up the root of v. 3's 'savior'; 'enemies' anticipates v. 18

Distress and Cry 22:5–7

vv. 5–6 — the distress: four subjects closing round the speaker, breakers of death // torrents of Belial, cords of Sheol // snares of death (water → hunter's net); verb–subject // subject–verb chiasm in each verse

5
AFor the breakers of death surrounded me;independent — explicative כִּי opens the retrospect that grounds v. 4; Samuel מִשְׁבְּרֵי מָוֶת 'breakers' (sea imagery) vs Ps 18:5 חֶבְלֵי מָוֶת 'cords'
Bthe torrents of Belial terrified me;independent — synonymous: breakers // torrents, death // Belial (destruction personified as an underworld flood)
6
Athe cords of Sheol encircled me;independent — the image shifts from flood to snare; Sheol // death
Bthe snares of death confronted me.independent — chiasm: subject–verb // verb–subject; קִדְּמֻנִי returns of the human foes in v. 19

v. 7 — cry and hearing: I called on YHWH // to my God I called (repetition), then the hinge, he heard my voice // my cry in his ears (gapping)

7
AIn my distress I called on YHWH,independent — בַּצַּר לִי fronted; yiqtol as poetic preterite; the narrow place (בַּצַּר) is reversed by the 'broad place' of v. 20
 and to my God I called;independent — the same verb אֶקְרָא repeated, where Ps 18:7 varies it ('I cried for help')
Band from his temple he heard my voice,independent — wayyiqtol וַיִּשְׁמַע, the turning point of the song (Ps 18:7 has a yiqtol); the temple is the heavenly palace, from which the theophany breaks out
 and my cry for help was in his ears.independent — verbless, the verb gapped; Ps 18:7 adds 'before him it came'

The Storm Theophany 22:8–16

vv. 8–16 — the storm theophany in eight strokes: earthquake (8) → smoke and fire (9) → descent (10) → cherub-ride (11) → cloud-pavilion and light (12–13) → thunder (14) → arrows of lightning (15) → the sea laid bare (16)

v. 8 — earthquake: earth // foundations of the heavens (below // above), sound-play on shake, quake, tremble, shake; a causal motive closes the verse

8
AThen the earth shook and quaked;independent — the theophany's wayyiqtol chain begins; Kethiv ותגעש / Qere וַיִּתְגָּעַשׁ kept as two tokens (Ps 18:8 has the Kethiv form)
 the foundations of the heavens trembledindependent — Samuel 'heavens' vs Ps 18:8 וּמוֹסְדֵי הָרִים 'foundations of the mountains'; yiqtol as preterite
Band shook,independent — wayyiqtol וַיִּתְגָּעֲשׁוּ picks up the opening verb, framing the verse
 for he was angry.cause — causal כִּי; idiom חָרָה לוֹ, 'it burned to him'; the nose of anger follows in v. 9

v. 9 — the fire-breathing warrior, a tricolon: smoke from his nostrils // fire from his mouth // coals from him

9
ASmoke went up from his nostrils,independent — בְּאַפּוֹ: 'nose' and 'anger' at once, embodying v. 8's motive
 and fire from his mouth devoured;independent — synonymous second member: nostrils // mouth
Bcoals blazed forth from him.independent — third member; גֶּחָלִים and בָּעֲרוּ return in v. 13

v. 10 — the descent: bent // came down (wayyiqtol pair) + circumstantial noun clause

10
AHe bent the heavens and came down,independent — the sky lowered like a tent roof
Bwith thick darkness under his feet.independent — circumstantial noun clause; וַעֲרָפֶל, the Sinai cloud (Exod 20:21; Deut 4:11)

v. 11 — the cherub-ride: rode and flew // was seen on the wings of the wind (synonymous, verb-led)

11
AHe rode on a cherub and flew;independent — the cherub as YHWH's winged mount (cf. Ps 104:3; Ezek 1; 10)
Bhe was seen on the wings of the wind.independent — MT וַיֵּרָא 'was seen' (LXX ὤφθη) vs Ps 18:11 וַיֵּדֶא 'he swooped', a dalet/resh variant

v. 12 — the cloud-pavilion: darkness as booths, with two appositions, mass of waters // clouds of the skies

12
AHe set darkness around him as booths,independent — wayyiqtol; סֻכּוֹת 'booths' (Ps 18:12 has סִתְרוֹ … סֻכָּתוֹ, 'his covering … his canopy')
Ba mass of waters,phrase modifier — apposition to the darkness; the hapax חַשְׁרַת vs Ps 18:12 חֶשְׁכַת 'darkness of' (LXX σκότος ὑδάτων goes with the Psalm)
 dense clouds of the skies.phrase modifier — second apposition

v. 13 — light through the cloud, a single bicolon: from the brightness before him // coals of fire blazed

13
AFrom the brightness before himindependent — fronted source phrase; the verb comes in colon B
Bcoals of fire blazed.independent — the coals of v. 9 again; Samuel lacks Ps 18:13 'his clouds passed through, hail and …'

v. 14 — thunder: YHWH // the Most High, thundered // gave his voice (synonymous, chiastic); his voice answers the king's voice of v. 7

14
AYHWH thundered from the heavens,independent — yiqtol יַרְעֵם (Ps 18:14 wayyiqtol); the divine name last, against וְעֶלְיוֹן first in colon B
Band the Most High gave forth his voice.independent — the thunder is YHWH's voice; Ps 18:14 adds 'hail and coals of fire'

v. 15 — the divine archer: arrows // lightning, scattered them // routed them (gapping: 'sent' carried over)

15
AHe sent out arrows and scattered them;independent — wayyiqtol pair; 'them', the enemies not yet named
Blightning — and routed them.independent — the verb gapped ('[sent] lightning'); Kethiv ויהמם 'and routed them' (= Ps 18:15) / Qere וַיָּהֹם 'and routed' kept as two tokens — the panic of holy war (Exod 14:24)

v. 16 — climax: channels of the sea seen // foundations of the world laid bare; at the rebuke of YHWH // at the blast of his nostrils (synonymous pairs; Reed Sea echo, Exod 15:8)

16
AThe channels of the sea were seen;independent — וַיֵּרָאוּ echoes וַיֵּרָא (v. 11); Ps 18:16 'channels of water'
 the foundations of the world were laid bareindependent — asyndetic Niphal yiqtol (Ps 18:16 wayyiqtol); מֹסְדוֹת recalls v. 8 — the foundations now exposed
Bat the rebuke of YHWH,phrase modifier — cause phrase; בְּגַעֲרַת, the divine rebuke of the sea (Ps 104:7); Ps 18:16 'your rebuke, YHWH' in address
 at the blast of the breath of his nostrils.phrase modifier — synonymous phrase; אַפּוֹ recalls v. 9 (smoke from his nostrils)

Rescue from Many Waters 22:17–20

v. 17 — the rescue act: reached down // took me // drew me out (three asyndetic verbs, from on high down to many waters)

17
AHe reached down from on high, he took me;independent — asyndetic yiqtols as preterites; יִשְׁלַח with 'hand' understood
Bhe drew me out of many waters.independent — יַמְשֵׁנִי: the verb is used elsewhere only of Moses drawn from the water (Exod 2:10)

v. 18 — the mythic waters decoded: my strong enemy // those who hated me (verb gapped) + motive

18
AHe delivered me from my strong enemy,independent — the flood is now named as human foes
Bfrom those who hated me,phrase modifier — parallel phrase, the verb gapped (Ps 18:18 'and from')
 for they were too strong for me.cause — causal כִּי with comparative 'than': the rescue was not the king's own doing

v. 19 — antithetic: the enemies confronted me // YHWH became my support

19
AThey confronted me on the day of my calamity,independent — יְקַדְּמֻנִי repeats v. 6: the snares of death are the human foes
Bbut YHWH became my support.independent — wayyiqtol וַיְהִי, the decisive turn

v. 20 — result and ground: brought me out into the broad place // rescued me, because he delighted in me

20
AHe brought me out into a broad place;independent — לַמֶּרְחָב reverses the narrow place of v. 7
Bhe rescued me,independent — asyndetic yiqtol
 because he delighted in me.cause — causal כִּי חָפֵץ; the ground that vv. 21–25 unpack

Confession of Innocence 22:21–25

vv. 21–25 — confession of innocence framed by an inclusio: 'according to my righteousness … he repaid me' (v. 21) // 'YHWH repaid me according to my righteousness' (v. 25), with grounds between ('for', 'for', then wayyiqtols)

v. 21 — chiasm: dealt with me | according to my righteousness // according to the cleanness of my hands | repaid me

21
AYHWH dealt with me according to my righteousness;independent — the inclusio opens; כְּצִדְקָתִי (Ps 18:21 shorter form); righteousness here means covenant loyalty and innocence of the charges, not sinlessness
Baccording to the cleanness of my hands he repaid me.independent — phrase–verb answers verb–phrase; יָשִׁיב anticipates וַיָּשֶׁב (v. 25)

v. 22 — ground: kept the ways of YHWH // not departed from my God (positive // negative)

22
AFor I have kept the ways of YHWHcause — causal כִּי grounding v. 21
Band have not wickedly departed from my God.cause — pregnant רָשַׁעְתִּי with 'from', 'act wickedly away from': a denial of apostasy

v. 23 — ground: his judgments // his statutes (synonymous Torah terms, Deut 17:18–20)

23
AFor all his judgments were before me,cause — second כִּי; nominal clause; Kethiv משפטו (sg.) / Qere מִשְׁפָּטָיו (pl.) kept as two tokens
Band his statutes — I did not turn aside from them.cause — casus pendens with resumptive מִמֶּנָּה; Ps 18:23 'I did not put away from me'

v. 24 — blamelessness: I was blameless toward him // I kept myself from my iniquity (synonymous)

24
AI was blameless toward him,cause — wayyiqtol 1cs continuing the grounds; תָמִים, the integrity word of Noah, Abraham and Job
Band I kept myself from my iniquity.cause — reflexive Hitpael; 'my iniquity' leaves the tension with ch. 11 for the reader to weigh

v. 25 — inclusio: v. 21 restated, repaid me // according to my righteousness // according to my cleanness (verb gapped)

25
ASo YHWH repaid me according to my righteousness,independent — wayyiqtol of conclusion; וַיָּשֶׁב closes the ring with יָשִׁיב (v. 21)
Baccording to my cleanness before his eyes.independent — verb gapped; Samuel כְּבֹרִי vs Ps 18:25 'the cleanness of my hands'

The Rule of Divine Reciprocity 22:26–28

vv. 26–28 — the rule of divine reciprocity: four mirrored lines, each 'with' + adjective + reflexive Hitpael of the same root (loyal → loyal, blameless → blameless, pure → pure, crooked → tortuous), then the social reversal of v. 28

v. 26 — reciprocal parallelism: with the loyal → you show yourself loyal // with the blameless warrior → you show yourself blameless

26
AWith the loyal you show yourself loyal;independent — חָסִיד / תִּתְחַסָּד: God mirrors the character of his covenant partner; second-person address
Bwith the blameless warrior you show yourself blameless;independent — תָּמִים / תִּתַּמָּם; Samuel גִּבּוֹר 'warrior' vs Ps 18:26 גְּבַר 'man'

v. 27 — the mirror, then the turn: with the pure → pure // with the crooked → tortuous (antithetic)

27
Awith the pure you show yourself pure,independent — נָבָר / תִּתָּבָר, a contracted form (Ps 18:27 תִּתְבָּרָר)
Bbut with the crooked you show yourself tortuous.independent — the mirror bends: עִקֵּשׁ → תִּתַּפָּל (Ps 18:27 תִּתְפַּתָּל); God outmaneuvers the twisted

v. 28 — antithetic reversal: a humble people you save // the haughty you bring low (cf. 1 Sam 2:7–8)

28
AA humble people you save,independent — fronted object with וְאֶת; Ps 18:28 opens 'for you'
Bbut your eyes are upon the haughty —independent — noun clause; Samuel וְעֵינֶיךָ … רָמִים vs Ps 18:28 וְעֵינַיִם רָמוֹת 'haughty eyes'
 you bring them low.independent — asyndetic yiqtol, or an asyndetic relative ('whom you bring low')

God Equips the King 22:29–37

vv. 29–37 — God equips the king: the lamp (29), power to run and leap (30), a hymnic confession of God's way and word (31–32), the participial portrait of the God who steadies and trains (33–35), and the gifts of shield and stride (36–37)

v. 29 — synonymous with the name repeated: you are my lamp, YHWH // YHWH lights my darkness (lamp // light, light // darkness)

29
AFor you are my lamp, O YHWH,independent — כִּי opens the new strophe; nominal clause: Samuel makes YHWH the lamp, where Ps 18:29 has תָּאִיר נֵרִי 'you light my lamp'; the lamp of the dynasty (21:17)
Band YHWH lights up my darkness.independent — the vocative taken up again as subject (staircase on the divine name)

v. 30 — synonymous: by you // by my God, run against a troop // leap over a wall

30
AFor by you I can run against a troop;independent — yiqtol of capability; גְּדוּד 'raiding band' (LXX μονόζωνος, 'lightly armed')
Bby my God I can leap over a wall.independent — exact parallel: בְכָה // בֵּאלֹהַי, troop // wall

v. 31 — hymnic tricolon: God's way is blameless // YHWH's word is refined // he is a shield to all who take refuge

31
AThis God — his way is blameless;independent — casus pendens הָאֵל + nominal clause; תָּמִים answers the king's blamelessness (vv. 24, 26)
Bthe word of YHWH is refined;independent — צְרוּפָה, smelted and tested (= Prov 30:5)
Che is a shieldindependent — pronoun-predicate noun clause; מָגֵן from v. 3
 to all who take refuge in him.phrase modifier — the participle הַחֹסִים generalizes the king's own אֶחֱסֶה (v. 3)

v. 32 — incomparability: two rhetorical questions, God // rock, besides YHWH // besides our God (synonymous)

32
AFor who is God besides YHWH?independent — כִּי + rhetorical מִי (cf. 1 Sam 2:2); Samuel אֵל vs Ps 18:32 אֱלוֹהַּ
BAnd who is a rock besides our God?independent — צוּר (LXX κτίστης, 'creator'); 'our God', the song's one plural voice; Samuel repeats מִבַּלְעֲדֵי where Ps 18:32 has זוּלָתִי

v. 33 — second 'This God' line: my strong refuge // he set my way free, blameless (a difficult verse; Ps 18:33 'who girds me with strength … made my way blameless')

33
AThis God is my strong refuge,independent — nominal clause, MT מָעוּזִּי חָיִל; 4QSam^a preserves מאזרני 'who girds me' (= Ps 18:33 הַמְאַזְּרֵנִי), and LXX κραταιῶν με δυνάμει supports it
Band he has set my way free, blameless.independent — obscure וַיַּתֵּר ('let loose'? Ps 18:33 וַיִּתֵּן 'and made'); Kethiv דרכו 'his way' / Qere דַּרְכִּי 'my way' kept as two tokens

vv. 34–35 — participial portrait (who makes … who trains): feet like does // set on my heights; hands trained for battle // arms bend a bronze bow (synthetic)

34
Awho makes my feet like the does',participial — attributive participle מְשַׁוֶּה continuing the predication of v. 33; Kethiv רגליו 'his feet' / Qere רַגְלַי 'my feet' kept as two tokens; the hind's sure footing (Hab 3:19)
Band sets me on my heights;independent — yiqtol continuing the participle; the high ground of battle
35
Awho trains my hands for battle,participial — second participle, מְלַמֵּד
Bso that my arms can bend a bow of bronze.independent — consecutive וְנִחַת, a 3ms verb with the plural subject 'arms' last (Ps 18:35 וְנִחֲתָה); the bronze bow is hyperbole

v. 36 — gifts to the king: the shield of your salvation // your answering made me great (synonymous); Samuel lacks Ps 18:36 'your right hand upheld me'

36
AYou have given me the shield of your salvation,independent — return to second-person address; מָגֵן again (vv. 3, 31)
Band your answering has made me great.independent — MT וַעֲנֹתְךָ 'your answering' (LXX ὑπακοή σου) vs Ps 18:36 וְעַנְוַתְךָ 'your condescension'; 4QSam^a preserves ועזרתך 'and your help'

v. 37 — positive // negative: stride widened beneath me // ankles did not slip

37
AYou widened my stride beneath me,independent — the broad place of v. 20 again
Band my ankles did not slip.independent — negated qatal, subject last

Victory over the Enemies 22:38–43

vv. 38–43 — the victory report: the king as subject of pursuit and destruction (38–39, 41b, 43), with God's arming (40), the rout (41a) and the enemies' unanswered cry (42) set among his acts

v. 38 — synthetic: pursued and destroyed // did not turn back until they were finished

38
AI pursued my enemies and destroyed them;independent — long-form אֶרְדְּפָה as preterite + wayyiqtol; Samuel 'destroyed' vs Ps 18:38 וְאַשִּׂיגֵם 'overtook them'; 4QSam^a preserves ואשמידם (some letters uncertain), agreeing with Samuel
BI did not turn backindependent — negated yiqtol
 until they were finished.conditional — temporal עַד + infinitive כַּלּוֹתָם

v. 39 — accumulation: finished them // struck them through // they could not rise // they fell under my feet (a four-verb chain)

39
AI finished them off and struck them through,independent — wayyiqtol pair; וָאֲכַלֵּם is Samuel's alone (catchword from כַּלּוֹתָם)
 and they could not rise;independent — יְקוּמוּן with paragogic nun; Ps 18:39 'they were not able to rise'
Bthey fell under my feet.independent — the royal image of subjugation (cf. Ps 110:1; 1 Kgs 5:17)

v. 40 — divine agency restated: you girded me with strength // you made those who rose against me bow (synthetic)

40
AYou girded me with strength for battle;independent — contracted וַתַּזְרֵנִי; the girding the Psalm puts in v. 33
Byou made those who rose against me bow beneath me.independent — Hiphil תַּכְרִיעַ; תַּחְתֵּנִי echoes v. 37

v. 41 — two fronted objects (casus pendens): my enemies → you made them turn their backs // those who hated me → I destroyed them (divine // royal action)

41
AMy enemies — you made them turn their backs to me;independent — 'give the neck' (עֹרֶף), to put to flight
Bthose who hated me — I destroyed them.independent — the pair enemies // haters of v. 18

v. 42 — the enemies' cry goes unanswered: they looked, none to save // to YHWH, no answer (gapping; the reverse of v. 7)

42
AThey looked,independent — Samuel יִשְׁעוּ 'looked (for help)' vs Ps 18:42 יְשַׁוְּעוּ 'cried for help' (LXX βοήσονται)
 but there was none to save —independent — וְאֵין + participle מֹשִׁיעַ: the enemies have no 'savior' (v. 3)
Bto YHWH,independent — the verb gapped: '[they looked] to YHWH'
 but he did not answer them.independent — the reverse of v. 7, 'he heard my voice'

v. 43 — emblematic similes: as the dust of the earth // like the mud of the streets, ground fine // crushed, stamped down

43
AI ground them fine as the dust of the earth;independent — Samuel 'dust of the earth' vs Ps 18:43 'dust before the wind' (עַל פְּנֵי רוּחַ); 4QSam^a preserves פני ארח, nearer the Psalm's phrase
Blike the mud of the streets I crushed them, I stamped them down.independent — the doublet אֲדִקֵּם אֶרְקָעֵם vs Ps 18:43 אֲרִיקֵם 'I emptied them out'; LXX has two verbs in the verse, and 4QSam^a preserves the single verb ארקעם

Head of the Nations 22:44–46

v. 44 — climactic tricolon: delivered from the strife of my people // kept as head of nations // a people I had not known serve me

44
AYou delivered me from the strife of my people;independent — wayyiqtol; internal strife (Saul's house, Absalom, Sheba); Samuel 'my people' vs Ps 18:44 'the people'
Byou kept me as head of the nations;independent — Samuel תִּשְׁמְרֵנִי (LXX φυλάξεις) vs Ps 18:44 תְּשִׂימֵנִי 'you set me'
Ca people I had not known serve me.independent — fronted subject עַם with asyndetic relative לֹא יָדַעְתִּי; yiqtol יַעַבְדֻנִי

v. 45 — synonymous: foreigners come cringing to me // at the ear's hearing they obey me; to me … to me at both ends (colon order the reverse of Ps 18:45)

45
AForeigners come cringing to me;independent — בְּנֵי נֵכָר, 'sons of foreignness'; Hitpael יִתְכַּחֲשׁוּ, feigned submission
Bat the mere hearing of the ear they obey me.independent — לִשְׁמוֹעַ אֹזֶן: at the first report; Niphal יִשָּׁמְעוּ

v. 46 — progressive: foreigners wither away // come limping out of their strongholds (anaphora on 'foreigners' with v. 45)

46
AForeigners wither away;independent — בְּנֵי נֵכָר repeated from v. 45; יִבֹּלוּ, plants wilting
Bthey come limping out of their strongholds.independent — Samuel וְיַחְגְּרוּ vs Ps 18:46 וְיַחְרְגוּ 'come trembling' (metathesis); 4QSam^a preserves יחגרו with Samuel, preceded by לא

Doxology and Dynastic Thanksgiving 22:47–51

vv. 47–51 — closing doxology: acclamation (47), participial praise turning into address (48–49), vow of praise among the nations (50), dynastic climax: his king // his anointed // David and his seed (51)

v. 47 — acclamation: YHWH lives // blessed be my rock // exalted be the God of the rock of my salvation (the rock epithets ring back to vv. 2–3)

47
AYHWH lives!independent — the oath formula חַי יְהוָה turned acclamation
 And blessed be my rock,independent — passive participle וּבָרוּךְ; צוּרִי as in vv. 2–3
Band exalted be the God of the rock of my salvation —independent — jussive וְיָרֻם; Samuel 'God of the rock of my salvation' vs Ps 18:47 'God of my salvation'

vv. 48–49 — participial doxology: who gives vengeance // who brings down peoples // who brings me out; then second-person yiqtols: you exalt me // you rescue me

48
Athe God who gives vengeance for meparticipial — apposition to the God of v. 47: article + participle הַנֹּתֵן
Band brings down peoples beneath me,participial — Samuel וּמוֹרִיד vs Ps 18:48 וַיַּדְבֵּר 'subdued'; 4QSam^a preserves ומרדד
49
Awho brings me out from my enemies;participial — third participle, וּמוֹצִיאִי (Ps 18:49 מְפַלְּטִי 'who delivers me')
Babove those who rise against me you exalt me;independent — shift to a second-person yiqtol; תְּרוֹמְמֵנִי picks up וְיָרֻם (v. 47)
Cfrom the man of violence you rescue me.independent — מֵאִישׁ חֲמָסִים answers מֵחָמָס (v. 3), closing the song's frame; 4QSam^a תצרני 'you guard me' (first letter uncertain) for MT תַּצִּילֵנִי

v. 50 — vow of praise: I will praise you among the nations // to your name I will sing (synonymous)

50
ATherefore I will praise you, YHWH, among the nations,independent — עַל כֵּן draws the conclusion; אוֹדְךָ (the thanksgiving); quoted from the Psalm form in Rom 15:9
Band to your name I will sing.independent — אֲזַמֵּר (Ps 18:50 long form אֲזַמֵּרָה)

v. 51 — climactic close: his king // his anointed // David and his seed forever (narrowing to the dynasty of ch. 7; cf. Hannah's 'his king … his anointed', 1 Sam 2:10)

51
AHe is a tower of salvation for his king,independent — nominal clause; Kethiv מגדיל 'he magnifies' (= LXX μεγαλύνων) / Qere מִגְדּוֹל 'tower' kept as two tokens, the English following the Qere; Ps 18:51 has the reverse pair (Kethiv מגדל / Qere מַגְדִּיל)
Band shows steadfast love to his anointed,participial — participle וְעֹשֶׂה + חֶסֶד; לִמְשִׁיחוֹ
 to David and to his offspring forever.phrase modifier — apposition naming the anointed: the dynastic promise of 7:12–16; עַד עוֹלָם as in 7:13, 16
Analysis. 2 Samuel 22 is David's royal song of thanksgiving, the Samuel form of Psalm 18, set near the close of the book as a poetic frame together with the 'last words' of ch. 23. Its single prose line (v. 1) is laid out as narrative: a wayyiqtol speech formula with the occasion hanging on it as a temporal phrase. From v. 2 the song runs flush-left one colon per line, as Hannah's song does in 1 Samuel 2. The ATNACH marks where colon B begins and secondary breaks mark C in the tricola (vv. 3, 9, 31, 44, 47, 49). Every verse carries a label naming its parallelism. The page follows the song's movements: an invocation made of a list of refuge epithets set out as appositions to YHWH (vv. 2–3) and a thesis verse (call → rescue, v. 4); the distress of death's breakers and Sheol's snares (vv. 5–6) and the cry that is heard (v. 7); the storm theophany (vv. 8–16: earthquake, smoke and fire, descent, cherub-ride, cloud-pavilion, thunder, arrows of lightning, the sea laid bare); the rescue from many waters (vv. 17–20); the confession of innocence held in a 'according to my righteousness … repaid me' inclusio (vv. 21–25); the reciprocal maxims of vv. 26–28 (each 'with' line mirrors an adjective with a Hitpael of the same root); the king equipped and victorious (vv. 29–46); and the doxology, which closes on 'his king // his anointed // David and his seed' (vv. 47–51). Indentation is kept for real subordination only: the 'for' grounds (vv. 8, 18, 20, 22–24), the asyndetic relative of v. 3, temporal 'until' in v. 38, and appositions hanging on a word (vv. 2–3, 12, 16, 31, 51). The participial portraits of God (vv. 34–35, 48–49) stay flat, as hymnic predication. Tags note the Psalm 18 form only where Samuel differs notably, and they cite LXX and 4QSam^a readings only where those are checked (scroll readings only where the letters survive, e.g. 'who girds me' in v. 33 and 'your help' in v. 36). Positions taken on cruxes: Kethiv and Qere stand as separate tokens and the English follows the Qere (vv. 8, 15, 23, 33, 34, 51, the last being 'tower', not 'he magnifies'); the obscure v. 33b is translated as it stands, not corrected to the Psalm; and v. 28b reads 'you bring low' as a clause of its own, though it could also be an asyndetic relative.