Hebrew Text · Translation · Interlinear · Discourse Structure

The Second Book of Samuel, Chapter 22שמואל ב 22

Each verse opens with the running Hebrew, an English translation, and a discourse note (its connective, relation, and role in the argument). Below follows the word-by-word breakdown in six tiers: gloss, case/state or parsing, syntax, semantic force, and a lexical note.

Clausal layout (sentence-flow view): Hebrew · English

Case Nominative Genitive Dative Accusative Vocative Verb (no case) Indeclinable

Discourse notes head each verse: relation · connective · clause-flow. Indentation marks prominence — flush-left = main line of argument; indented = supporting / subordinate material.

Theme

2 Samuel 22 is David's royal song of thanksgiving, a near-duplicate of Psalm 18, placed with the 'last words' of ch. 23 as the poetic frame closing the Samuel narrative (answering Hannah's song in 1 Sam 2, which also ends on YHWH's 'king' and 'anointed'). The king invokes YHWH with a cluster of refuge epithets, recounts mortal distress and a storm-theophany in which YHWH descends to draw him out of the waters, grounds the rescue in his own covenant loyalty, and then narrates how God equipped him for victory and set him as head of the nations. The song ends with doxology and a vow of praise among the nations, climaxing on the dynastic promise of ch. 7: steadfast love 'to his anointed, to David and his offspring forever.'

Translation & textual notes

The chapter is one of the Hebrew Bible's great synoptic texts: set beside Ps 18 it shows dozens of small variants — orthographic (Samuel tends to the shorter, defective spelling), lexical, and grammatical — which are best read as two transmitted forms of one poem rather than corrected into each other. Notable divergences: Ps 18:2 opens 'I love you, YHWH, my strength', absent here; v.3 אֱלֹהֵי צוּרִי ('God of my rock') vs Ps 18:3 אֵלִי צוּרִי, and Samuel's extra cola 'my refuge, my savior, from violence you save me'; v.5 מִשְׁבְּרֵי־מָוֶת 'breakers of death' vs Ps 'cords of death'; v.8 'foundations of the heavens' vs Ps 'of the mountains'; v.11 וַיֵּרָא 'he was seen' vs Ps וַיֵּדֶא 'he soared' (a classic dalet/resh confusion; the LXX ὤφθη agrees with Samuel); v.12 the hapax חַשְׁרַת מַיִם vs Ps חֶשְׁכַת מַיִם 'darkness of waters'; v.13 Samuel lacks Ps's clouds and hail; v.16 'channels of the sea' and third-person 'rebuke of YHWH' vs Ps 'channels of water' and 'your rebuke'; v.27 the rare contracted Hitpael forms תִּתָּבָר and תִּתַּפָּל (Ps תִּתְבָּרָר, תִּתְפַּתָּל); v.29 'you are my lamp' vs Ps 'you light my lamp'; v.33 'God is my strong refuge ... he set loose (וַיַּתֵּר) my way' vs Ps 'who girds me with strength and made my way blameless' (the LXX κραταιῶν με δυνάμει leans toward the Psalm; 4QSam^a (4Q51) agrees with Ps as well, reading ]אל מאזרני ח[יל 'God who girds me with strength'); v.36 עֲנֹתְךָ 'your answering' (LXX ὑπακοή) vs Ps עַנְוַתְךָ 'your condescension'; v.43 the doublet אֲדִקֵּם אֶרְקָעֵם vs Ps אֲרִיקֵם (another d/r variant); v.46 וְיַחְגְּרוּ vs Ps וְיַחְרְגוּ (metathesis). Five Kethiv/Qere pairs are carried as separate tokens and annotated both ways: v.8 ותגעש / וַיִּתְגָּעַשׁ, v.15 ויהמם / וַיָּהֹם, v.23 משפטו / מִשְׁפָּטָיו, v.33 דרכו / דַּרְכִּי, v.34 רגליו / רַגְלַי, and v.51 מגדיל ('he magnifies', = Ps 18:51 and LXX μεγαλύνων) / מִגְדּוֹל ('tower'). The Greek here falls in the kaige section of Reigns (2 Sam 11:2 - 1 Kgs 2:11) and generally tracks a text close to the MT. Theologically, the confession of innocence (vv.21-25) stands after the Bathsheba-Uriah narrative (chs. 11-12) in the book's final order; the song's superscription dates it to David's deliverance from Saul and his enemies, and the claim is best read as covenant loyalty (not sinlessness) in the royal-psalm idiom — the tension with ch. 11 is real and is noted rather than resolved. 4QSam^a (4Q51) also attests: v.39 no ואכלם 'I consumed them' (v.38 ends and v.39 begins אמח[צם] 'I crushed them'), agreeing with Ps 18:39 and the single verb of the LXX (καὶ θλάσω αὐτούς); v.43 פני ארח 'the face of the path' (cf. Ps 18:43 עַל פְּנֵי רוּחַ) and only ארקעם after חוצ[ו]ת, without the doublet אֲדִקֵּם (the LXX likewise has one verb, ἐλέπτυνα); v.36 ועזרתך 'and your help' for MT וַעֲנֹתְךָ (Ps 18:36 עַנְוַתְךָ). It further reads v.48 ומרדד 'and who subdues' for MT וּמוֹרִיד 'and who brings down' (Ps 18:48 וַיַּדְבֵּר); v.49 תצרני 'you guard me' for MT תַּצִּילֵנִי 'you rescue me' (first letter damaged); v.46 לא יחגרו ממסרותם 'they do not gird themselves from their bonds' for MT וְיַחְגְּרוּ מִמִּסְגְּרוֹתָם.

1

וַיְדַבֵּ֤ר דָּוִד֙ לַֽיהוָ֔ה אֶת דִּבְרֵ֖י הַשִּׁירָ֣ה הַזֹּ֑את בְּיוֹם֩ הִצִּ֨יל יְהוָ֥ה אֹת֛וֹ מִכַּ֥ף כָּל אֹיְבָ֖יו וּמִכַּ֥ף שָׁאֽוּל

And David spoke to YHWH the words of this song on the day YHWH delivered him from the hand of all his enemies and from the hand of Saul.

Superscription — narrative frame for the songwə (narrative)
The prose wayyiqtol frame closely matches the heading of Ps 18 and echoes Moses' song formula (Exod 15:1; Deut 31:30). 'All his enemies and ... Saul' gathers the whole David story of 1-2 Samuel under one act of deliverance.
Word-by-word analysis· 16 words
וַיְדַבֵּ֤רand spokePiel wayyiqtol 3ms · דָּבַר (H1696)Predicate verb (main clause of the prose superscription)→ Wayyiqtol: narrative framing — introduces the song as an event in David's storyדָּבַר (H1696) Piel 'to speak'; with the cognate object דִּבְרֵי the heading echoes Moses' song formula (Deut 31:30 'Moses spoke ... the words of this song').
דָּוִד֙DavidN proper · דָּוִד (H1732)Subjectדָּוִד (H1732), the king; the heading assigns the song to him as it does Ps 18, where he is also called 'servant of YHWH'.
לַֽיהוָ֔הto YHWHprep לְ + N proper (divine name) · יְהוָה (H3068)Indirect object (addressee of the song)יְהוָה (H3068); the song is addressed to YHWH as thanksgiving, though much of it speaks about him in the third person.
אֶת[obj]obj marker · אֵת (H853)Direct-object marker (definite object)אֵת (H853), nota accusativi marking the definite object 'the words of this song'.
דִּבְרֵ֖יthe words ofN m pl constr · דָּבָר (H1697)Direct object (cognate with וַיְדַבֵּר), head of construct chainדָּבָר (H1697) 'word, matter'; cognate accusative with דִּבֵּר, the formal heading of a poem (Exod 15:1; Deut 31:30).
הַשִּׁירָ֣הthe songart + N f sg abs · שִׁירָה (H7892)Genitive of construct chainשִׁירָה (H7892) 'song', feminine of שִׁיר; used of the great victory songs (Exod 15:1; Deut 31:19-32:44).
הַזֹּ֑אתthisart + demonstrative pronoun f sg · זֹאת (H2063)Attributive demonstrative modifying הַשִּׁירָהזֹאת (H2063) 'this' (f); points forward to the poem that follows.
בְּיוֹם֩on the dayprep בְּ + N m sg constr · יוֹם (H3117)Temporal prepositional phrase; construct before a verbal clause ('on the day [when]')יוֹם (H3117) 'day'; בְּיוֹם + finite verb = 'when'; the 'day' is less a single date than the whole deliverance summed up.
הִצִּ֨ילdeliveredHiphil perf 3ms · נָצַל (H5337)Predicate verb of the temporal clause governed by בְּיוֹם→ Perfective: the completed act of rescue that occasions the songנָצַל (H5337) Hiphil 'to snatch away, deliver'; a key verb of the song (vv.18, 49) and of David's story (1 Sam 17:37).
יְהוָ֥הYHWHN proper (divine name) · יְהוָה (H3068)Subject of הִצִּיליְהוָה (H3068); the deliverer, the song's constant subject.
אֹת֛וֹhimobj marker + 3ms suffix · אֵת (H853)Direct object (pronominal)אֵת (H853) with 3ms suffix, 'him' = David.
מִכַּ֥ףfrom the hand ofprep מִן + N f sg constr · כַּף (H3709)Prepositional phrase of separation (source of rescue)כַּף (H3709) 'palm, hand'; 'from the palm of' = from the grip or power of (cf. 2 Sam 19:10).
כָּלallN m sg constr · כֹּל (H3605)Quantifier in construct with אֹיְבָיוכֹּל (H3605) 'all, every'; the totalizing 'all his enemies' matches 7:1, 9, 11 ('rest from all your enemies').
אֹיְבָ֖יוhis enemiesQal ptc m pl constr (substantival) + 3ms suffix · אָיַב (H341)Genitive of כָּל (substantival participle)→ Participle (substantival): those characterized by hostilityאָיַב (H341) 'to be hostile'; the participle אֹיֵב is the standard word for 'enemy', recurring throughout the song (vv.4, 18, 38, 41, 49).
וּמִכַּ֥ףand from the hand ofconj וְ + prep מִן + N f sg constr · כַּף (H3709)Coordinated prepositional phrase of separationכַּף (H3709) 'hand, palm'; the repetition singles Saul out from the general enemies.
שָׁאֽוּלSaulN proper · שָׁאוּל (H7586)Genitive of constructשָׁאוּל (H7586), Israel's first king and David's pursuer (1 Sam 18-31); the superscription thus dates the song's occasion to the whole span of David's rise.
2

וַיֹּאמַ֑ר יְהוָ֛ה סַֽלְעִ֥י וּמְצֻדָתִ֖י וּמְפַלְטִי לִֽי

He said: YHWH is my crag and my stronghold and my deliverer — mine;

Invocation — epithets of refuge (strophe opening)wə (narrative)
The song opens with no verb of petition, only a stack of possessive titles; יְהוָה may be read as vocative (so LXX κύριε) or as subject of a nominal clause. Ps 18:2 prefixes 'I love you, YHWH, my strength', which Samuel lacks.
Word-by-word analysis· 6 words
וַיֹּאמַ֑רand he saidQal wayyiqtol 3ms · אָמַר (H559)Predicate verb introducing the poem as direct speech→ Wayyiqtol: narrative introduction of quoted speechאָמַר (H559) 'to say'; the prose frame's last word before the poem proper.
יְהוָ֛הYHWHN proper (divine name) · יְהוָה (H3068)Subject of a verbless clause ('YHWH is my crag'), or vocative (so LXX κύριε)יְהוָה (H3068); Ps 18:2 precedes this with 'I love you (אֶרְחָמְךָ), YHWH, my strength', a line absent in Samuel and the LXX here.
סַֽלְעִ֥יmy cragN m sg constr + 1cs suffix · סֶלַע (H5553)Predicate nominative (first of a series of appositional epithets)סֶלַע (H5553) 'crag, cliff'; a high rocky refuge — David hid in the סֶלַע of the wilderness from Saul (1 Sam 23:25, 28), so the metaphor has biographical resonance.
וּמְצֻדָתִ֖יand my strongholdconj וְ + N f sg constr + 1cs suffix · מְצוּדָה (H4686)Predicate nominative (coordinated epithet)מְצוּדָה (H4686) 'fortress, stronghold'; David's 'stronghold' (מְצוּדָה) of 1 Sam 22:4-5; 2 Sam 5:7, 17 — the literal refuges become figures of YHWH.
וּמְפַלְטִיand my delivererconj וְ + Piel ptc m sg constr (substantival) + 1cs suffix · פָּלַט (H6403)Predicate nominative (coordinated epithet)→ Participle (substantival): one who habitually brings to escapeפָּלַט (H6403) Piel 'to bring to safety, rescue'; recurs in v.44.
לִֽיmineprep לְ + 1cs suffix · לְDative of advantage/possession reinforcing the suffixes ('my deliverer — mine')לִי 'for me, mine'; an emphatic ethical dative absent from Ps 18:3; the LXX renders it literally (ἐμοί).
3

אֱלֹהֵ֥י צוּרִ֖י אֶחֱסֶה בּ֑וֹ מָגִנִּ֞י וְקֶ֣רֶן יִשְׁעִ֗י מִשְׂגַּבִּי֙ וּמְנוּסִ֔י מֹשִׁעִ֕י מֵחָמָ֖ס תֹּשִׁעֵֽנִי

the God of my rock, in whom I take refuge; my shield and the horn of my salvation, my high stronghold and my place of flight; my savior — from violence you save me.

Invocation continued — accumulated epithetsasyndeton
Asyndetic apposition extends the list, mixing terrain (rock), armor (shield), and animal-power (horn) imagery for protective strength. The final colon turns from third-person title to second-person address, a move Samuel alone makes here (Ps 18:3 lacks 'my refuge, my savior, from violence you save me').
Word-by-word analysis· 12 words
אֱלֹהֵ֥יthe God ofN m pl constr · אֱלֹהִים (H430)Appositional epithet; construct head ('God of my rock')אֱלֹהִים (H430); MT's construct אֱלֹהֵי yields 'the God of my rock' (cf. v.47 'the God of the rock of my salvation'), whereas Ps 18:3 has אֵלִי צוּרִי 'my God, my rock'; LXX ὁ θεός μου reads 'my God'.
צוּרִ֖יmy rockN m sg constr + 1cs suffix · צוּר (H6697)Genitive of constructצוּר (H6697) 'rock, boulder'; a frequent divine title (Deut 32:4, 15, 18; 1 Sam 2:2) and the song's key epithet (vv.32, 47); LXX renders it φύλαξ 'guardian'.
אֶחֱסֶהI take refugeQal impf 1cs · חָסָה (H2620)Predicate of an asyndetic relative clause ('[in whom] I take refuge')→ Yiqtol: habitual/ongoing trustחָסָה (H2620) 'to seek refuge, shelter'; the characteristic Psalter verb of trust (Ps 2:12; 7:2), picked up in v.31.
בּ֑וֹin himprep בְּ + 3ms suffix · בְּResumptive prepositional phrase of the relative clauseבְּ with 3ms suffix; resumptive pronoun marking the refuge, 'in whom'.
מָגִנִּ֞יmy shieldN (c) sg constr + 1cs suffix · מָגֵן (H4043)Appositional epithetמָגֵן (H4043) 'shield' (the small round shield); divine protector title since Gen 15:1; recurs vv.31, 36.
וְקֶ֣רֶןand the horn ofconj וְ + N f sg constr · קֶרֶן (H7161)Appositional epithet; construct headקֶרֶן (H7161) 'horn'; the wild ox's horn as emblem of strength and victory — Hannah's song closes on YHWH exalting 'the horn of his anointed' (1 Sam 2:10).
יִשְׁעִ֗יmy salvationN m sg constr + 1cs suffix · יֶשַׁע (H3468)Genitive of construct (attributive: 'my saving horn')יֶשַׁע (H3468) 'salvation, rescue', from ישׁע 'be spacious, save'; recurs vv.36, 47.
מִשְׂגַּבִּי֙my high refugeN m sg constr + 1cs suffix · מִשְׂגָּב (H4869)Appositional epithetמִשְׂגָּב (H4869) 'secure height', from שָׂגַב 'be high, inaccessible'; a refuge out of the enemy's reach.
וּמְנוּסִ֔יand my place of flightconj וְ + N m sg constr + 1cs suffix · מָנוֹס (H4498)Appositional epithet (coordinated)מָנוֹס (H4498) 'refuge, place to flee', from נוּס 'flee'. This and the following two words are a plus in Samuel against Ps 18:3.
מֹשִׁעִ֕יmy saviorHiphil ptc m sg constr (substantival) + 1cs suffix · יָשַׁע (H3467)Appositional epithet (vocative in function, leading to 2ms address)→ Participle (substantival): the one who characteristically savesיָשַׁע (H3467) Hiphil 'to save, deliver'; defective spelling of מוֹשִׁיעִי; the ptc מוֹשִׁיעַ is the term used for the 'deliverers' of Judges.
מֵחָמָ֖סfrom violenceprep מִן + N m sg abs · חָמָס (H2555)Prepositional phrase of separation (fronted)חָמָס (H2555) 'violence, wrong'; bloodshed and lawless injury (Gen 6:11); forms an inclusio with v.49 'the man of violences'.
תֹּשִׁעֵֽנִיyou save meHiphil impf 2ms + 1cs suffix · יָשַׁע (H3467)Predicate verb (main clause), direct address→ Yiqtol: habitual/characteristic — what YHWH always doesיָשַׁע (H3467) Hiphil 'to save'; the shift to 2ms turns the list of titles into prayer.
4

מְהֻלָּ֖ל אֶקְרָ֣א יְהוָ֑ה וּמֵאֹיְבַ֖י אִוָּשֵֽׁעַ

'Worthy of praise!' I call on YHWH, and from my enemies I am saved.

Thesis in miniature — call and rescueasyndeton
The verse summarizes the whole song (call, then deliverance) before the narrative of distress begins; the yiqtols are best taken as general/iterative truth. מְהֻלָּל is either the content of the cry ('Praised be...') or a predicate of YHWH ('the praiseworthy one').
Word-by-word analysis· 5 words
מְהֻלָּ֖לworthy of praisePual ptc m sg abs · הָלַל (H1984)Predicate adjective/cry of praise fronted before the verb (content of the call, or epithet of YHWH)→ Participle (gerundive): 'to be praised', praiseworthyהָלַל (H1984) Pual 'to be praised'; מְהֻלָּל 'praiseworthy' (Ps 48:2; 96:4). Syntax disputed: 'I call, "Praiseworthy!"' or 'I call on the praiseworthy one, YHWH'; LXX αἰνετὸν ἐπικαλέσομαι κύριον.
אֶקְרָ֣אI callQal impf 1cs · קָרָא (H7121)Predicate verb (main clause)→ Yiqtol: general/iterative truth — the pattern of the song summarizedקָרָא (H7121) 'to call, cry out'; 'call on YHWH' = invoke in prayer (v.7).
יְהוָ֑הYHWHN proper (divine name) · יְהוָה (H3068)Direct object of אֶקְרָאיְהוָה (H3068), the one invoked.
וּמֵאֹיְבַ֖יand from my enemiesconj וְ + prep מִן + Qal ptc m pl constr (substantival) + 1cs suffix · אָיַב (H341)Prepositional phrase of separation (fronted)→ Participle (substantival): enemiesאָיַב (H341) 'to be hostile'; ptc 'enemy'; fronted to contrast the threat with the rescue.
אִוָּשֵֽׁעַI am savedNiphal impf 1cs · יָשַׁע (H3467)Predicate verb (coordinated main clause, consequence of the call)→ Yiqtol: consequential/general — calling issues in rescueיָשַׁע (H3467) Niphal 'to be saved, delivered'; the passive leaves the saving to YHWH.
5

כִּ֥י אֲפָפֻ֖נִי מִשְׁבְּרֵי מָ֑וֶת נַחֲלֵ֥י בְלִיַּ֖עַל יְבַעֲתֻֽנִי

For the breakers of death surrounded me; the torrents of Belial terrified me;

Lament — the peril described (strophe opening)kî (explanatory)
כִּי opens the retrospective account of distress that explains v.4. Death is imaged as a chaotic sea (breakers, torrents) — Ps 18:5 has 'cords of death', anticipating v.6 — and בְלִיַּעַל personifies destructive worthlessness as an underworld flood.
Word-by-word analysis· 7 words
כִּ֥יforconj · כִּי (H3588)Explanatory conjunction opening the account of distressכִּי (H3588) 'for, because'; introduces the backstory that explains v.4.
אֲפָפֻ֖נִיsurrounded meQal perf 3cp + 1cs suffix · אָפַף (H661)Predicate verb (subject follows)→ Perfective: completed past experience of encirclementאָפַף (H661) 'to encompass, surround', a poetic verb of engulfing peril (Jonah 2:6; Ps 116:3).
מִשְׁבְּרֵיthe breakers ofN m pl constr · מִשְׁבָּר (H4867)Subject of אֲפָפֻנִי, construct headמִשְׁבָּר (H4867) 'breaker, wave that breaks', from שָׁבַר 'break' (Jonah 2:4; Ps 42:8). Ps 18:5 reads חֶבְלֵי מָוֶת 'cords of death'; Samuel's reading keeps the water imagery consistent with the next colon (LXX συντριμμοί).
מָ֑וֶתdeathN m sg abs · מָוֶת (H4194)Genitive of constructמָוֶת (H4194) 'death'; here personified as a devouring sea-power, as Mot in Canaanite myth.
נַחֲלֵ֥יthe torrents ofN m pl constr · נַחַל (H5158)Subject of יְבַעֲתֻנִי, construct headנַחַל (H5158) 'wadi, torrent'; the flash-flood of a desert stream bed.
בְלִיַּ֖עַלBelialN m sg abs · בְּלִיַּעַל (H1100)Genitive of constructבְּלִיַּעַל (H1100) 'worthlessness, ruin' (traditionally בְּלִי 'without' + יַעַל 'profit'; some derive 'place of no return', the underworld); parallel to 'death' it names a destructive, near-personified power (cf. 2 Cor 6:15 Beliar).
יְבַעֲתֻֽנִיterrified mePiel impf 3mp + 1cs suffix · בָּעַת (H1204)Predicate verb (parallel colon)→ Yiqtol in poetic past narration: vivid, durative terrorבָּעַת (H1204) Piel 'to terrify, overwhelm' (used of Saul's evil spirit, 1 Sam 16:14-15).
6

חֶבְלֵ֥י שְׁא֖וֹל סַבֻּ֑נִי קִדְּמֻ֖נִי מֹֽקְשֵׁי מָֽוֶת

the cords of Sheol encircled me; the snares of death confronted me.

Lament continued — parallel colonasyndeton
The imagery shifts from water to the hunter's net; the four subjects of vv.5-6 (breakers, torrents, cords, snares) form a closing ring around the speaker.
Word-by-word analysis· 6 words
חֶבְלֵ֥יthe cords ofN m pl constr · חֶבֶל (H2256)Subject of סַבֻּנִי, construct headחֶבֶל (H2256) 'cord, rope' (homonym 'birth-pang', whence LXX ὠδῖνες); the hunter's noose, parallel to 'snares'.
שְׁא֖וֹלSheolN proper · שְׁאוֹל (H7585)Genitive of constructשְׁאוֹל (H7585) 'Sheol', the underworld realm of the dead; parallel to מָוֶת (LXX has θανάτου for both).
סַבֻּ֑נִיencircled meQal perf 3cp + 1cs suffix · סָבַב (H5437)Predicate verb (main clause)→ Perfective: completed encirclementסָבַב (H5437) 'to go around, surround'; geminate verb, contracted form.
קִדְּמֻ֖נִיconfronted mePiel perf 3cp + 1cs suffix · קָדַם (H6923)Predicate verb (parallel colon, verb-first chiasm)→ Perfective: the snares met him head-onקָדַם (H6923) Piel 'to come before, meet, confront'; hostile encounter here, repeated of human foes in v.19.
מֹֽקְשֵׁיthe snares ofN m pl constr · מוֹקֵשׁ (H4170)Subject of קִדְּמֻנִי, construct headמוֹקֵשׁ (H4170) 'snare, bait-trap', from יָקַשׁ 'lay a snare'; death as a fowler.
מָֽוֶתdeathN m sg abs · מָוֶת (H4194)Genitive of constructמָוֶת (H4194) 'death'; completes the ring of four death-images (vv.5-6).
7

בַּצַּר לִי֙ אֶקְרָ֣א יְהוָ֔ה וְאֶל אֱלֹהַ֖י אֶקְרָ֑א וַיִּשְׁמַ֤ע מֵהֵֽיכָלוֹ֙ קוֹלִ֔י וְשַׁוְעָתִ֖י בְּאָזְנָֽיו

In my distress I called on YHWH, and to my God I called; and from his temple he heard my voice, and my cry for help was in his ears.

Cry and hearing — the turning pointasyndeton
Two yiqtols of calling (past-narrative sense in poetry) are answered by the wayyiqtol וַיִּשְׁמַע, the hinge of the song. The 'temple' is YHWH's heavenly palace, from which the theophany of vv.8-16 now bursts.
Word-by-word analysis· 12 words
בַּצַּרin the distressprep בְּ + art + N m sg abs · צַר (H6862)Temporal-circumstantial prepositional phrase (fronted)צַר (H6862) 'narrow; distress', from צָרַר 'be cramped'; the narrowness is reversed by the 'broad place' of v.20. Ps 18:7 has the same idiom.
לִי֙to meprep לְ + 1cs suffix · לְDative of the one affected ('when I was in distress')לִי with צַר = 'when it was narrow for me', i.e., in my distress.
אֶקְרָ֣אI calledQal impf 1cs · קָרָא (H7121)Predicate verb (main clause)→ Yiqtol in poetic past narrative: the cry vividly rendered (preterite sense)קָרָא (H7121) 'to call, cry out'; repeats v.4's formula, now in its narrative setting.
יְהוָ֔הYHWHN proper (divine name) · יְהוָה (H3068)Direct object of אֶקְרָאיְהוָה (H3068), the one invoked.
וְאֶלand toconj וְ + prep · אֶל (H413)Coordinating conjunction + preposition marking addresseeאֶל (H413) 'to, toward'; direction of the cry.
אֱלֹהַ֖יmy GodN m pl constr + 1cs suffix · אֱלֹהִים (H430)Object of the preposition (fronted, parallel to יְהוָה)אֱלֹהִים (H430) with 1cs suffix, 'my God' — the covenant relationship underlying the appeal.
אֶקְרָ֑אI calledQal impf 1cs · קָרָא (H7121)Predicate verb (parallel colon, chiastic order)→ Yiqtol in poetic past narrativeקָרָא (H7121); Samuel repeats the verb where Ps 18:7 varies it with אֲשַׁוֵּעַ 'I cried for help'.
וַיִּשְׁמַ֤עand he heardQal wayyiqtol 3ms · שָׁמַע (H8085)Predicate verb (main clause; the song's hinge)→ Wayyiqtol: sequential, foregrounded answer to the cryשָׁמַע (H8085) 'to hear, heed'; divine hearing is the decisive turn — everything after is its consequence.
מֵהֵֽיכָלוֹ֙from his templeprep מִן + N m sg constr + 3ms suffix · הֵיכָל (H1964)Prepositional phrase of source/locationהֵיכָל (H1964) 'palace, temple' (Sumerian É.GAL 'great house'); here YHWH's heavenly palace, since no earthly temple yet stood in David's day (cf. ch. 7).
קוֹלִ֔יmy voiceN m sg constr + 1cs suffix · קוֹל (H6963)Direct object of וַיִּשְׁמַעקוֹל (H6963) 'voice, sound'; the king's voice will be answered by YHWH's thunder-voice (v.14).
וְשַׁוְעָתִ֖יand my cry for helpconj וְ + N f sg constr + 1cs suffix · שַׁוְעָה (H7775)Subject of a verbless clause ('and my cry [was] in his ears')שַׁוְעָה (H7775) 'cry for help'; Ps 18:7 adds לְפָנָיו תָּבוֹא 'came before him', which Samuel lacks, leaving a terse nominal clause.
בְּאָזְנָֽיוin his earsprep בְּ + N f du constr + 3ms suffix · אֹזֶן (H241)Predicate prepositional phrase of the verbless clauseאֹזֶן (H241) 'ear'; anthropomorphic assurance that the cry reached YHWH.
8

ותגעש וַיִּתְגָּעַ֤שׁ וַתִּרְעַשׁ֙ הָאָ֔רֶץ מוֹסְד֥וֹת הַשָּׁמַ֖יִם יִרְגָּ֑זוּ וַיִּֽתְגָּעֲשׁ֖וּ כִּֽי חָ֥רָה לֽוֹ

Then the earth shook and quaked; the foundations of the heavens trembled and shook, for he was angry.

Theophany — cosmic upheaval (strophe opening)wə (narrative)
The wayyiqtol chain describes YHWH's answer as an earthquake reaching from earth to the pillars of the sky (Ps 18:8 'foundations of the mountains'). כִּי חָרָה לוֹ gives the motive: divine anger against the king's enemies.
Word-by-word analysis· 11 words
ותגעשand shookconj וְ + Qal wayyiqtol 3fs (ketiv) · גָּעַשׁ (H1607)Predicate verb (main clause), subject הָאָרֶץ→ Wayyiqtol: sequential — the theophanic answer beginsגָּעַשׁ (H1607) 'to shake, heave' (of the sea's surge, Jer 5:22). The ketiv, read וַתִּגְעַשׁ, agrees with Ps 18:8 and with the feminine subject 'earth'. (Editions differ on which spelling is labeled Kethiv and which Qere; the pair is annotated here as given.)
וַיִּתְגָּעַ֤שׁand shookconj וְ + Hitpael wayyiqtol 3ms (qere) · גָּעַשׁ (H1607)Predicate verb (qere alternative to the preceding ketiv)→ Wayyiqtol: sequential; Hitpael of reeling, repeated shakingגָּעַשׁ (H1607) Hitpael 'to reel back and forth, toss'; the masculine form anticipates the same verb in וַיִּתְגָּעֲשׁוּ later in the verse.
וַתִּרְעַשׁ֙and quakedconj וְ + Qal wayyiqtol 3fs · רָעַשׁ (H7493)Predicate verb (coordinate), subject הָאָרֶץ→ Wayyiqtol: sequential — the earthquakeרָעַשׁ (H7493) 'to quake, tremble'; standard theophany verb (Judg 5:4; Ps 68:9).
הָאָ֔רֶץthe earthart + N f sg abs · אֶרֶץ (H776)Subjectאֶרֶץ (H776) 'earth'; with the 'heavens' of the next colon, a merism for the whole cosmos convulsed.
מוֹסְד֥וֹתthe foundations ofN f pl constr · מוֹסָד (H4146)Subject of יִרְגָּזוּ, construct headמוֹסָד (H4146) 'foundation', from יָסַד; the pillars on which the sky-vault rests (cf. Job 26:11).
הַשָּׁמַ֖יִםthe heavensart + N m pl abs · שָׁמַיִם (H8064)Genitive of constructשָׁמַיִם (H8064) 'heavens'. Ps 18:8 reads מוֹסְדֵי הָרִים 'foundations of the mountains'; the LXX (τὰ θεμέλια τοῦ οὐρανοῦ) supports Samuel.
יִרְגָּ֑זוּtrembledQal impf 3mp · רָגַז (H7264)Predicate verb (parallel colon)→ Yiqtol in poetic past narration: ongoing agitationרָגַז (H7264) 'to quiver, be agitated' (with fear or rage).
וַיִּֽתְגָּעֲשׁ֖וּand shookconj וְ + Hitpael wayyiqtol 3mp · גָּעַשׁ (H1607)Predicate verb (coordinate), subject 'foundations'→ Wayyiqtol: sequential; iterative reelingגָּעַשׁ (H1607) Hitpael 'to reel, heave to and fro'; repetition of the root frames the verse.
כִּֽיforconj · כִּי (H3588)Causal conjunctionכִּי (H3588) 'because'; gives the reason for the cosmic upheaval.
חָ֥רָהhe was angryQal perf 3ms · חָרָה (H2734)Predicate of the causal clause (impersonal: 'it burned')→ Perfective: the anger had flaredחָרָה (H2734) 'to burn, be kindled' (of anger); impersonal חָרָה לוֹ 'it burned to him' = he became angry. LXX adds κύριος ... αὐτοῖς ('the Lord was angry with them').
לֽוֹto himprep לְ + 3ms suffix · לְDative of the experiencer of angerלוֹ 'to him'; with חָרָה, idiom for his anger flaring.
9

עָלָ֤ה עָשָׁן֙ בְּאַפּ֔וֹ וְאֵ֥שׁ מִפִּ֖יו תֹּאכֵ֑ל גֶּחָלִ֖ים בָּעֲר֥וּ מִמֶּֽנּוּ

Smoke went up from his nostrils, and fire from his mouth devoured; coals blazed forth from him.

Theophany — the fiery warriorasyndeton
Anthropomorphic storm-and-volcano imagery portrays YHWH as a fire-breathing divine warrior; אַף ('nose') doubles as 'anger', continuing v.8's motive.
Word-by-word analysis· 9 words
עָלָ֤הwent upQal perf 3ms · עָלָה (H5927)Predicate verb (asyndetic clause)→ Perfective: vivid completed event of the theophanyעָלָה (H5927) 'to go up, ascend'; of rising smoke as at Sinai (Exod 19:18).
עָשָׁן֙smokeN m sg abs · עָשָׁן (H6227)Subjectעָשָׁן (H6227) 'smoke'; volcanic and storm imagery of divine anger.
בְּאַפּ֔וֹfrom his nostrilsprep בְּ + N m sg constr + 3ms suffix · אַף (H639)Prepositional phrase of location/sourceאַף (H639) 'nose, nostril; anger' (the snorting of rage); the LXX renders ἐν τῇ ὀργῇ αὐτοῦ 'in his anger'.
וְאֵ֥שׁand fireconj וְ + N f sg abs · אֵשׁ (H784)Subject of תֹּאכֵל (fronted)אֵשׁ (H784) 'fire'; YHWH's consuming fire (Deut 4:24).
מִפִּ֖יוfrom his mouthprep מִן + N m sg constr + 3ms suffix · פֶּה (H6310)Prepositional phrase of sourceפֶּה (H6310) 'mouth'; paired with 'nostrils' in the image of a fire-breathing warrior.
תֹּאכֵ֑לdevouredQal impf 3fs · אָכַל (H398)Predicate verb (parallel colon)→ Yiqtol in poetic narration: ongoing consuming actionאָכַל (H398) 'to eat, devour'; of fire consuming (Lev 9:24).
גֶּחָלִ֖יםcoalsN f pl abs · גַּחֶלֶת (H1513)Subject of בָּעֲרוּגַּחֶלֶת (H1513) 'glowing coal, ember'; the embers of the divine fire (cf. v.13).
בָּעֲר֥וּblazedQal perf 3cp · בָּעַר (H1197)Predicate verb (third colon)→ Perfective: the kindling of the coalsבָּעַר (H1197) 'to burn, blaze'; repeated in v.13.
מִמֶּֽנּוּfrom himprep מִן + 3ms suffix · מִן (H4480)Prepositional phrase of sourceמִן (H4480) 'from'; the coals issue from YHWH himself.
10

וַיֵּ֥ט שָׁמַ֖יִם וַיֵּרַ֑ד וַעֲרָפֶ֖ל תַּ֥חַת רַגְלָֽיו

He bent the heavens and came down, with thick darkness under his feet.

Theophany — the descentwə (narrative)
YHWH lowers the sky like a tent roof and descends; the circumstantial nominal clause places Sinai-like עֲרָפֶל ('thick cloud') beneath him.
Word-by-word analysis· 6 words
וַיֵּ֥טand he bentconj וְ + Qal wayyiqtol 3ms · נָטָה (H5186)Predicate verb (main clause)→ Wayyiqtol: sequential — the descent beginsנָטָה (H5186) 'to stretch out, bend, incline'; YHWH lowers the sky like a tent roof (cf. Ps 144:5; Isa 64:1).
שָׁמַ֖יִםthe heavensN m pl abs · שָׁמַיִם (H8064)Direct objectשָׁמַיִם (H8064) 'heavens'; anarthrous in poetry.
וַיֵּרַ֑דand came downconj וְ + Qal wayyiqtol 3ms · יָרַד (H3381)Predicate verb (coordinate)→ Wayyiqtol: sequential — divine descentיָרַד (H3381) 'to go down, descend'; YHWH's 'coming down' to intervene (Exod 3:8; 19:20).
וַעֲרָפֶ֖לand thick darknessconj וְ + N m sg abs · עֲרָפֶל (H6205)Subject of a circumstantial verbless clauseעֲרָפֶל (H6205) 'thick cloud, deep gloom'; the Sinai darkness where God was (Exod 20:21; Deut 4:11).
תַּ֥חַתunderprep · תַּחַת (H8478)Preposition (predicate of the circumstantial clause)תַּחַת (H8478) 'under, beneath'.
רַגְלָֽיוhis feetN f du constr + 3ms suffix · רֶגֶל (H7272)Object of the prepositionרֶגֶל (H7272) 'foot'; the cloud as YHWH's footstool as he rides down.
11

וַיִּרְכַּ֥ב עַל כְּר֖וּב וַיָּעֹ֑ף וַיֵּרָ֖א עַל כַּנְפֵי רֽוּחַ

He rode on a cherub and flew; he was seen on the wings of the wind.

Theophany — the cherub-chariotwə (narrative)
The cherub serves as YHWH's winged mount (cf. Ezek 1; 10; Ps 104:3). MT וַיֵּרָא 'he was seen' (LXX ὤφθη) stands against Ps 18:11 וַיֵּדֶא 'he swooped', a dalet/resh variant.
Word-by-word analysis· 8 words
וַיִּרְכַּ֥בand he rodeconj וְ + Qal wayyiqtol 3ms · רָכַב (H7392)Predicate verb (main clause)→ Wayyiqtol: sequential — the divine warrior's approachרָכַב (H7392) 'to mount, ride'; YHWH as cloud-rider (Deut 33:26; Ps 68:5, cf. Baal's epithet 'rider of the clouds').
עַלonprep · עַל (H5921)Prepositionעַל (H5921) 'upon'.
כְּר֖וּבa cherubN m sg abs · כְּרוּב (H3742)Object of the preposition (the mount)כְּרוּב (H3742) 'cherub', a winged composite guardian-creature; YHWH is 'enthroned on the cherubim' (6:2); here the cherub becomes his flying steed or chariot (Ezek 1; 10).
וַיָּעֹ֑ףand flewconj וְ + Qal wayyiqtol 3ms · עוּף (H5774)Predicate verb (coordinate)→ Wayyiqtol: sequential — swift flightעוּף (H5774) 'to fly'.
וַיֵּרָ֖אand he was seenconj וְ + Niphal wayyiqtol 3ms · רָאָה (H7200)Predicate verb (parallel colon)→ Wayyiqtol: sequential — the visible appearing of the warriorרָאָה (H7200) Niphal 'to appear, be seen', the verb of theophany (Gen 12:7). Crux: Ps 18:11 reads וַיֵּדֶא 'he swooped/soared' (דָּאָה, of a bird of prey, Deut 28:49), a dalet/resh confusion; the Psalm form fits 'flew' better, but the LXX ὤφθη supports Samuel, and MT is kept as it stands.
עַלonprep · עַל (H5921)Prepositionעַל (H5921) 'upon'.
כַּנְפֵיthe wings ofN f du constr · כָּנָף (H3671)Object of the preposition, construct headכָּנָף (H3671) 'wing'; the wind given wings (Ps 104:3).
רֽוּחַthe windN f sg abs · רוּחַ (H7307)Genitive of constructרוּחַ (H7307) 'wind, breath, spirit'; here the storm-wind as YHWH's vehicle (cf. v.16 'breath of his nostrils').
12

וַיָּ֥שֶׁת חֹ֛שֶׁךְ סְבִיבֹתָ֖יו סֻכּ֑וֹת חַֽשְׁרַת מַ֖יִם עָבֵ֥י שְׁחָקִֽים

He set darkness around him as booths, a mass of waters, dense clouds of the skies.

Theophany — the veiling darknesswə (narrative)
The storm-clouds form YHWH's pavilion, hiding him even as he comes. The hapax חַשְׁרַת ('mass, sieve'?) replaces Ps 18:12 חֶשְׁכַת 'darkness of'; the LXX (σκότος ὑδάτων, ἀποκρυφὴν αὐτοῦ) is closer to the Psalm form.
Word-by-word analysis· 8 words
וַיָּ֥שֶׁתand he setconj וְ + Qal wayyiqtol 3ms · שִׁית (H7896)Predicate verb (main clause), double-accusative verb→ Wayyiqtol: sequential — YHWH veils himselfשִׁית (H7896) 'to put, set, make'; with two accusatives, 'made darkness (into) booths'. Ps 18:12 reads יָשֶׁת חֹשֶׁךְ סִתְרוֹ 'he made darkness his covering'.
חֹ֛שֶׁךְdarknessN m sg abs · חֹשֶׁךְ (H2822)Direct object (first accusative)חֹשֶׁךְ (H2822) 'darkness'; storm-darkness as the veil of God's presence.
סְבִיבֹתָ֖יוaround himN f pl constr + 3ms suffix (adverbial) · סָבִיב (H5439)Adverbial accusative of placeסָבִיב (H5439) 'surroundings, round about'; plural noun with suffix used prepositionally, 'all around him'.
סֻכּ֑וֹתas boothsN f pl abs · סֻכָּה (H5521)Second accusative (predicate of the object: what the darkness became)סֻכָּה (H5521) 'booth, thicket-shelter'; the cloud as YHWH's pavilion. Ps 18:12 has the singular סֻכָּתוֹ 'his booth'; LXX ἡ σκηνὴ αὐτοῦ also singular with suffix.
חַֽשְׁרַתa mass ofN f sg constr · חַשְׁרָה (H2841)Apposition to סֻכּוֹת, construct headחַשְׁרָה (H2841) hapax legomenon, meaning uncertain: 'collection, mass' (cf. Arabic ḥašara 'gather') or 'sieve' (cf. Mishnaic Hebrew; the related חִשֻּׁרִים 'hubs', 1 Kgs 7:33). Ps 18:12 reads חֶשְׁכַת מַיִם 'darkness of waters', which the LXX (σκότος ὑδάτων) also reflects.
מַ֖יִםwatersN m pl abs · מַיִם (H4325)Genitive of constructמַיִם (H4325) 'water'; the rain-laden storm-cloud.
עָבֵ֥יthick clouds ofN m pl constr · עָב (H5645)Apposition (further specifying the booths), construct headעָב (H5645) 'dense cloud, thick cloud-mass'.
שְׁחָקִֽיםthe skiesN m pl abs · שַׁחַק (H7834)Genitive of constructשַׁחַק (H7834) 'fine dust; (pl.) clouds, skies'; poetic term for the upper sky (Deut 33:26).
13

מִנֹּ֖גַהּ נֶגְדּ֑וֹ בָּעֲר֖וּ גַּחֲלֵי אֵֽשׁ

From the brightness before him coals of fire blazed.

Theophany — radiance through the cloudasyndeton
A single-colon verse: out of the darkness breaks blazing light. Samuel lacks Ps 18:13's 'his clouds passed, hail and coals of fire'.
Word-by-word analysis· 5 words
מִנֹּ֖גַהּfrom the brightnessprep מִן + N m sg abs · נֹגַהּ (H5051)Prepositional phrase of source (fronted)נֹגַהּ (H5051) 'brightness, radiance'; the light that breaks through the cloud (Hab 3:4, 11). OSHB tags it feminine; it is usually treated as masculine.
נֶגְדּ֑וֹbefore himprep + 3ms suffix · נֶגֶד (H5048)Prepositional phrase (locating the brightness)נֶגֶד (H5048) 'in front of, opposite'; 'the brightness before him' = his radiant presence.
בָּעֲר֖וּblazedQal perf 3cp · בָּעַר (H1197)Predicate verb→ Perfective: vivid past kindlingבָּעַר (H1197) 'to burn, blaze'; repeats v.9. Samuel lacks Ps 18:13's 'his clouds passed, hail and coals of fire' — a shorter text, whether by omission or by the Psalm's expansion.
גַּחֲלֵיcoals ofN f pl constr · גַּחֶלֶת (H1513)Subject, construct headגַּחֶלֶת (H1513) 'glowing coal'; lightning-flashes pictured as embers.
אֵֽשׁfireN f sg abs · אֵשׁ (H784)Genitive of construct (material)אֵשׁ (H784) 'fire'.
14

יַרְעֵ֥ם מִן שָׁמַ֖יִם יְהוָ֑ה וְעֶלְי֖וֹן יִתֵּ֥ן קוֹלֽוֹ

YHWH thundered from the heavens, and the Most High gave forth his voice.

Theophany — the thunder-voiceasyndeton
Divine name and epithet עֶלְיוֹן stand in parallel; thunder is YHWH's 'voice', answering the king's 'voice' of v.7.
Word-by-word analysis· 7 words
יַרְעֵ֥םthunderedHiphil impf 3ms · רָעַם (H7481)Predicate verb (main clause)→ Yiqtol in poetic past narration: vivid, resounding actionרָעַם (H7481) Hiphil 'to thunder'; YHWH thundered against the Philistines in 1 Sam 7:10, and Hannah foretold it (1 Sam 2:10).
מִןfromprep · מִן (H4480)Preposition of sourceמִן (H4480) 'from'. Ps 18:14 reads בַשָּׁמַיִם 'in the heavens'; LXX ἐξ οὐρανοῦ agrees with Samuel.
שָׁמַ֖יִםthe heavensN m pl abs · שָׁמַיִם (H8064)Object of the prepositionשָׁמַיִם (H8064) 'heavens'.
יְהוָ֑הYHWHN proper (divine name) · יְהוָה (H3068)Subject (delayed for emphasis)יְהוָה (H3068); named explicitly for the first time since v.7.
וְעֶלְי֖וֹןand the Most Highconj וְ + Adj m sg abs (substantival, divine title) · עֶלְיוֹן (H5945)Subject of the parallel colonעֶלְיוֹן (H5945) 'highest, Most High', from עָלָה; an ancient divine title (Gen 14:18-22; Deut 32:8) in parallel with YHWH.
יִתֵּ֥ןgave forthQal impf 3ms · נָתַן (H5414)Predicate verb (parallel colon)→ Yiqtol in poetic past narrationנָתַן (H5414) 'to give'; נָתַן קוֹל 'give (one's) voice' = utter, of thunder (Ps 46:7; 68:34).
קוֹלֽוֹhis voiceN m sg constr + 3ms suffix · קוֹל (H6963)Direct objectקוֹל (H6963) 'voice, sound, thunder'; YHWH's thunder-voice answers the king's voice (v.7), cf. Ps 29.
15

וַיִּשְׁלַ֥ח חִצִּ֖ים וַיְפִיצֵ֑ם בָּרָ֖ק ויהמם וַיָּהֹֽם

He sent out arrows and scattered them — lightning, and routed them.

Theophany — the divine archerwə (narrative)
Lightning bolts are YHWH's arrows; the suffix 'them' anticipates the enemies, still unnamed. The Kethiv ויהמם 'and routed them' (= Ps 18:15) and Qere וַיָּהֹם 'and routed' are both annotated.
Word-by-word analysis· 6 words
וַיִּשְׁלַ֥חand he sentconj וְ + Qal wayyiqtol 3ms · שָׁלַח (H7971)Predicate verb (main clause)→ Wayyiqtol: sequential — the divine attackשָׁלַח (H7971) 'to send, shoot'; of shooting arrows (1 Sam 20:20).
חִצִּ֖יםarrowsN m pl abs · חֵץ (H2671)Direct objectחֵץ (H2671) 'arrow'; lightning as YHWH's arrows (Hab 3:11; Ps 77:18).
וַיְפִיצֵ֑םand scattered themconj וְ + Hiphil wayyiqtol 3ms + 3mp suffix · פּוּץ (H6327)Predicate verb (coordinate)→ Wayyiqtol: sequential result — enemies routedפּוּץ (H6327) Hiphil 'to scatter, disperse'; 'them' = the enemies, not yet named (resolved in v.18).
בָּרָ֖קlightningN m sg abs · בָּרָק (H1300)Direct object (elliptical: 'he sent lightning'), gapping the verbבָּרָק (H1300) 'lightning (flash)'; Ps 18:15 reads וּבְרָקִים רָב 'and lightnings in abundance'.
ויהמםand routed themconj וְ + Qal wayyiqtol 3ms + 3mp suffix (ketiv) · הָמַם (H2000)Predicate verb (parallel to וַיְפִיצֵם)→ Wayyiqtol: sequential result — panic in the enemy ranksהָמַם (H2000) 'to confuse, throw into panic', the holy-war verb of divine rout (Exod 14:24; Josh 10:10; 1 Sam 7:10). The ketiv, read וַיְהֻמֵּם, equals Ps 18:15; OSHB tags Hiphil, but the form is Qal of a geminate root.
וַיָּהֹֽםand routedconj וְ + Qal wayyiqtol 3ms (qere) · הָמַם (H2000)Predicate verb (qere alternative, without suffix)→ Wayyiqtol: sequential resultהָמַם (H2000) 'to throw into confusion'; the qere lacks the object suffix ('and he routed [them]'). OSHB tags Hiphil; וַיָּהֹם is a Qal geminate form. LXX καὶ ἐξέστησεν αὐτούς renders an object as in the ketiv.
16

וַיֵּֽרָאוּ֙ אֲפִ֣קֵי יָ֔ם יִגָּל֖וּ מֹסְד֣וֹת תֵּבֵ֑ל בְּגַעֲרַ֣ת יְהוָ֔ה מִנִּשְׁמַ֖ת ר֥וּחַ אַפּֽוֹ

The channels of the sea were seen; the foundations of the world were laid bare at the rebuke of YHWH, at the blast of the breath of his nostrils.

Theophany — climax: the sea driven backwə (narrative)
The storm drives back the sea to expose the world's foundations, an echo of the Reed Sea (Exod 15:8) and of YHWH's rebuke of chaos. The exposed depths prepare for v.17's rescue 'out of many waters'. Ps 18:16 reads 'channels of water' and 'your rebuke, O YHWH'.
Word-by-word analysis· 11 words
וַיֵּֽרָאוּ֙and were seenconj וְ + Niphal wayyiqtol 3mp · רָאָה (H7200)Predicate verb (main clause), subject follows→ Wayyiqtol: sequential climax — the sea-bed exposedרָאָה (H7200) Niphal 'to be seen, appear'; echoes v.11 וַיֵּרָא — what is revealed now is the depths laid bare.
אֲפִ֣קֵיthe channels ofN m pl constr · אָפִיק (H650)Subject, construct headאָפִיק (H650) 'channel, stream-bed', the rock-bed under the water.
יָ֔םthe seaN m sg abs · יָם (H3220)Genitive of constructיָם (H3220) 'sea'; the chaos-sea rebuked (cf. Ps 104:7; Nah 1:4) and the Reed Sea (Exod 15:8). Ps 18:16 reads אֲפִיקֵי מַיִם 'channels of water'; LXX θαλάσσης supports Samuel.
יִגָּל֖וּwere laid bareNiphal impf 3mp · גָּלָה (H1540)Predicate verb (parallel colon)→ Yiqtol in poetic past narrationגָּלָה (H1540) Niphal 'to be uncovered, exposed'.
מֹסְד֣וֹתthe foundations ofN f pl constr · מוֹסָד (H4146)Subject, construct headמוֹסָד (H4146) 'foundation'; complements v.8's 'foundations of the heavens'.
תֵּבֵ֑לthe worldN f sg abs · תֵּבֵל (H8398)Genitive of constructתֵּבֵל (H8398) 'world, inhabited earth', a poetic word (1 Sam 2:8 'on them he set the world').
בְּגַעֲרַ֣תat the rebuke ofprep בְּ + N f sg constr · גְּעָרָה (H1606)Causal prepositional phraseגְּעָרָה (H1606) 'rebuke, threatening roar'; YHWH's war-cry against the chaos waters (Ps 104:7; Isa 50:2).
יְהוָ֔הYHWHN proper (divine name) · יְהוָה (H3068)Genitive of construct (subjective)יְהוָה (H3068); Ps 18:16 has the second person, 'at your rebuke, O YHWH'; Samuel and the LXX (κυρίου) keep the third person.
מִנִּשְׁמַ֖תat the blast ofprep מִן + N f sg constr · נְשָׁמָה (H5397)Causal prepositional phrase (parallel)נְשָׁמָה (H5397) 'breath, blast'; the snort of YHWH's anger (cf. Exod 15:8 'at the blast of your nostrils the waters piled up').
ר֥וּחַthe breath ofN f sg constr · רוּחַ (H7307)Genitive of construct, itself constructרוּחַ (H7307) 'wind, breath'; the three-member chain intensifies the image of storm-wind as divine exhalation.
אַפּֽוֹhis nostrilsN m sg constr + 3ms suffix · אַף (H639)Genitive of constructאַף (H639) 'nose; anger'; returns to v.9, framing the theophany with YHWH's snorting wrath; LXX θυμοῦ αὐτοῦ 'his wrath'.
17

יִשְׁלַ֥ח מִמָּר֖וֹם יִקָּחֵ֑נִי יַֽמְשֵׁ֖נִי מִמַּ֥יִם רַבִּֽים

He reached down from on high, he took me; he drew me out of many waters.

Deliverance — the rescue act (strophe opening)asyndeton
The cosmic descent narrows to one personal act. יַמְשֵׁנִי ('he drew me out') occurs elsewhere only of Moses (Exod 2:10), casting the king as a new one drawn from the waters.
Word-by-word analysis· 6 words
יִשְׁלַ֥חhe reached downQal impf 3ms · שָׁלַח (H7971)Predicate verb (asyndetic main clause)→ Yiqtol in poetic past narration: vivid rescueשָׁלַח (H7971) 'to send, stretch out'; object 'hand' understood (cf. Ps 144:7 'stretch out your hand from on high').
מִמָּר֖וֹםfrom on highprep מִן + N m sg abs · מָרוֹם (H4791)Prepositional phrase of sourceמָרוֹם (H4791) 'height, heaven', from רוּם 'be high'.
יִקָּחֵ֑נִיhe took meQal impf 3ms + 1cs suffix · לָקַח (H3947)Predicate verb (asyndetic, sequential)→ Yiqtol in poetic past narrationלָקַח (H3947) 'to take, seize'; the personal grasp of the rescuer.
יַֽמְשֵׁ֖נִיhe drew me outHiphil impf 3ms + 1cs suffix · מָשָׁה (H4871)Predicate verb (parallel colon)→ Yiqtol in poetic past narrationמָשָׁה (H4871) 'to draw out', found only here, Ps 18:17, and Exod 2:10 (Moses: 'I drew him out of the water') — the king rescued like Moses from the waters.
מִמַּ֥יִםout of watersprep מִן + N m pl abs · מַיִם (H4325)Prepositional phrase of separationמַיִם (H4325) 'water'; resolves the flood imagery of v.5.
רַבִּֽיםmanyAdj m pl abs · רַב (H7227)Attributive adjective modifying מַיִםרַב (H7227) 'many, great'; 'many waters' (מַיִם רַבִּים) is the stock phrase for cosmic chaos-floods (Ps 29:3; 93:4).
18

יַצִּילֵ֕נִי מֵאֹיְבִ֖י עָ֑ז מִשֹּׂ֣נְאַ֔י כִּ֥י אָמְצ֖וּ מִמֶּֽנִּי

He delivered me from my strong enemy, from those who hated me, for they were too strong for me.

Deliverance — the enemies identifiedasyndeton
The mythic waters are now decoded as human enemies; the causal clause concedes the king's weakness — the rescue was not his own achievement.
Word-by-word analysis· 7 words
יַצִּילֵ֕נִיhe delivered meHiphil impf 3ms + 1cs suffix · נָצַל (H5337)Predicate verb (main clause)→ Yiqtol in poetic past narrationנָצַל (H5337) Hiphil 'to snatch away, rescue'; echoes the superscription (v.1).
מֵאֹיְבִ֖יfrom my enemyprep מִן + Qal ptc m sg constr (substantival) + 1cs suffix · אָיַב (H341)Prepositional phrase of separation→ Participle (substantival): enemyאָיַב (H341) 'to be hostile'; singular 'my enemy', perhaps collective or pointing to Saul (v.1). Ps 18:18 identical.
עָ֑זstrongAdj m sg abs · עַז (H5794)Attributive adjective modifying 'my enemy'עַז (H5794) 'strong, fierce'; stresses the foe's superiority.
מִשֹּׂ֣נְאַ֔יfrom those who hated meprep מִן + Qal ptc m pl constr (substantival) + 1cs suffix · שָׂנֵא (H8130)Prepositional phrase of separation (parallel)→ Participle (substantival): haters, enemiesשָׂנֵא (H8130) 'to hate'; 'haters' as a synonym for enemies.
כִּ֥יforconj · כִּי (H3588)Causal conjunctionכִּי (H3588) 'for, because'.
אָמְצ֖וּthey were too strongQal perf 3cp · אָמַץ (H553)Predicate of the causal clause→ Perfective stative: their standing superiorityאָמַץ (H553) 'to be strong, alert'; with מִן comparative, 'stronger than me'.
מִמֶּֽנִּיthan meprep מִן + 1cs suffix · מִן (H4480)Comparative prepositional phraseמִן (H4480) comparative, 'than me' — too strong for me.
19

יְקַדְּמֻ֖נִי בְּי֣וֹם אֵידִ֑י וַיְהִ֧י יְהוָ֛ה מִשְׁעָ֖ן לִֽי

They confronted me on the day of my calamity, but YHWH became my support.

Deliverance — contrast: enemy assault vs divine supportwə (narrative)
יְקַדְּמֻנִי repeats v.6, binding the human foes to the snares of death; the wayyiqtol וַיְהִי marks YHWH's decisive intervention.
Word-by-word analysis· 7 words
יְקַדְּמֻ֖נִיthey confronted mePiel impf 3mp + 1cs suffix · קָדַם (H6923)Predicate verb (main clause)→ Yiqtol in poetic past narrationקָדַם (H6923) Piel 'to confront'; repeats v.6, identifying the human foes with the snares of death.
בְּי֣וֹםon the day ofprep בְּ + N m sg constr · יוֹם (H3117)Temporal prepositional phraseיוֹם (H3117) 'day'.
אֵידִ֑יmy calamityN m sg constr + 1cs suffix · אֵיד (H343)Genitive of constructאֵיד (H343) 'calamity, disaster', often the day of ruin (Deut 32:35; Obad 13).
וַיְהִ֧יbut becameconj וְ + Qal wayyiqtol 3ms · הָיָה (H1961)Predicate verb (contrastive main clause)→ Wayyiqtol: foregrounded decisive interventionהָיָה (H1961) 'to be, become'; + לְ 'became for me'.
יְהוָ֛הYHWHN proper (divine name) · יְהוָה (H3068)Subjectיְהוָה (H3068).
מִשְׁעָ֖ןa supportN m sg abs · מִשְׁעָן (H4937)Predicate complement of וַיְהִימִשְׁעָן (H4937) 'support, staff', from שָׁעַן 'lean on'; something to lean on when falling (cf. Isa 3:1).
לִֽיfor meprep לְ + 1cs suffix · לְDative of advantageלִי 'for me'.
20

וַיֹּצֵ֥א לַמֶּרְחָ֖ב אֹתִ֑י יְחַלְּצֵ֖נִי כִּי חָ֥פֵֽץ בִּֽי

He brought me out into a broad place; he rescued me, because he delighted in me.

Deliverance — result and groundwə (narrative)
Spacious freedom reverses the 'narrow' distress of v.7 (צַר). כִּי חָפֵץ בִּי gives the reason — YHWH's pleasure in the king — which vv.21-25 then unpack as covenant fidelity.
Word-by-word analysis· 7 words
וַיֹּצֵ֥אand he brought outconj וְ + Hiphil wayyiqtol 3ms · יָצָא (H3318)Predicate verb (main clause)→ Wayyiqtol: sequential result of the rescueיָצָא (H3318) Hiphil 'to bring out'; exodus vocabulary of liberation.
לַמֶּרְחָ֖בinto the broad placeprep לְ + art + N m sg abs · מֶרְחָב (H4800)Prepositional phrase of destinationמֶרְחָב (H4800) 'broad, open space', from רָחַב 'be wide'; freedom as the opposite of the 'narrow' distress (צַר, v.7).
אֹתִ֑יmeobj marker + 1cs suffix · אֵת (H853)Direct object (pronominal)אֵת (H853) with 1cs suffix; Ps 18:20 uses the suffixed verb וַיּוֹצִיאֵנִי instead.
יְחַלְּצֵ֖נִיhe rescued mePiel impf 3ms + 1cs suffix · חָלַץ (H2502)Predicate verb (asyndetic parallel)→ Yiqtol in poetic past narrationחָלַץ (H2502) Piel 'to pull out, rescue' (lit. 'draw off' — Ps 6:5; 116:8).
כִּיbecauseconj · כִּי (H3588)Causal conjunctionכִּי (H3588) 'because'; introduces the ground of the rescue, elaborated in vv.21-25.
חָ֥פֵֽץhe delightedQal perf 3ms · חָפֵץ (H2654)Predicate of the causal clause→ Perfective stative: settled delight/favorחָפֵץ (H2654) 'to delight in, take pleasure in'; YHWH's favor toward David (cf. 15:26 'if he says, I have no pleasure in you').
בִּֽיin meprep בְּ + 1cs suffix · בְּPrepositional object of חָפֵץבְּ marks the object of delight.
21

יִגְמְלֵ֥נִי יְהוָ֖ה כְּצִדְקָתִ֑י כְּבֹ֥ר יָדַ֖י יָשִׁ֥יב לִֽי

YHWH dealt with me according to my righteousness; according to the cleanness of my hands he repaid me.

Confession of innocence — divine recompense (strophe opening)asyndeton
The strophe opens an inclusio closed at v.25. In the royal-psalm idiom צְדָקָה and 'clean hands' denote loyalty to the covenant and innocence of the charges enemies brought, not moral perfection.
Word-by-word analysis· 7 words
יִגְמְלֵ֥נִיdealt with meQal impf 3ms + 1cs suffix · גָּמַל (H1580)Predicate verb (main clause)→ Yiqtol in poetic past narration (or general): recompenseגָּמַל (H1580) 'to deal fully with, repay'; neutral recompense, here favorable.
יְהוָ֖הYHWHN proper (divine name) · יְהוָה (H3068)Subjectיְהוָה (H3068).
כְּצִדְקָתִ֑יaccording to my righteousnessprep כְּ + N f sg constr + 1cs suffix · צְדָקָה (H6666)Prepositional phrase of norm/standardצְדָקָה (H6666) 'righteousness'; in context, rightness of conduct within the covenant relationship and innocence of the charges enemies brought (cf. 1 Sam 24:18; 26:23 'YHWH rewards each for his righteousness'), not a claim of sinlessness.
כְּבֹ֥רaccording to the cleanness ofprep כְּ + N m sg constr · בֹּר (H1252)Prepositional phrase of norm (parallel)בֹּר (H1252) 'cleanness, purity', from בָּרַר 'purify' (and 'lye'); 'clean hands' = innocence of violence and wrongdoing (Ps 24:4; Job 22:30).
יָדַ֖יmy handsN f du constr + 1cs suffix · יָד (H3027)Genitive of constructיָד (H3027) 'hand'; the hands as the organ of action — here claimed free of guilt (cf. David's refusal to lift his hand against Saul, 1 Sam 24:11; 26:9).
יָשִׁ֥יבhe repaidHiphil impf 3ms · שׁוּב (H7725)Predicate verb (parallel colon)→ Yiqtol: recompense returnedשׁוּב (H7725) Hiphil 'to bring back, return, repay'.
לִֽיto meprep לְ + 1cs suffix · לְIndirect objectלִי 'to me'.
22

כִּ֥י שָׁמַ֖רְתִּי דַּרְכֵ֣י יְהוָ֑ה וְלֹ֥א רָשַׁ֖עְתִּי מֵאֱלֹהָֽי

For I have kept the ways of YHWH and have not wickedly departed from my God.

Confession — ground: kept the wayskî (causal)
כִּי grounds v.21. The pregnant construction רָשַׁע מִן ('act wickedly away from') means apostasy — a denial of having abandoned YHWH.
Word-by-word analysis· 7 words
כִּ֥יforconj · כִּי (H3588)Causal conjunction grounding v.21כִּי (H3588) 'for'.
שָׁמַ֖רְתִּיI have keptQal perf 1cs · שָׁמַר (H8104)Predicate verb of the causal clause→ Perfective: a completed, characteristic life-patternשָׁמַר (H8104) 'to keep, guard, observe'; Deuteronomic idiom 'keep the ways of YHWH' (Gen 18:19; Judg 2:22).
דַּרְכֵ֣יthe ways ofN (c) pl constr · דֶּרֶךְ (H1870)Direct object, construct headדֶּרֶךְ (H1870) 'way, road; conduct'; the course of life YHWH prescribes.
יְהוָ֑הYHWHN proper (divine name) · יְהוָה (H3068)Genitive of constructיְהוָה (H3068).
וְלֹ֥אand notconj וְ + negative particle · לֹא (H3808)Negation of the coordinate clauseלֹא (H3808) 'not'.
רָשַׁ֖עְתִּיhave I wickedly departedQal perf 1cs · רָשַׁע (H7561)Predicate verb (pregnant construction with מִן)→ Perfective: denial of a completed act of apostasyרָשַׁע (H7561) 'to be guilty, act wickedly'; with מִן, 'act wickedly (so as to depart) from' = apostatize. The disavowal is of breaking faith with YHWH.
מֵאֱלֹהָֽיfrom my Godprep מִן + N m pl constr + 1cs suffix · אֱלֹהִים (H430)Prepositional phrase of separationאֱלֹהִים (H430) 'God'; LXX ἀπὸ τοῦ θεοῦ μου.
23

כִּ֥י כָל משפטו מִשְׁפָּטָ֖יו לְנֶגְדִּ֑י וְחֻקֹּתָ֖יו לֹא אָס֥וּר מִמֶּֽנָּה

For all his judgments were before me, and his statutes — I did not turn aside from them.

Confession — ground: Torah before himkî (causal)
The Deuteronomic vocabulary (judgments, statutes, not turning aside) presents the king as the Torah-keeping king of Deut 17:18-20. Kethiv משפטו (sg) / Qere מִשְׁפָּטָיו (pl) are both annotated.
Word-by-word analysis· 9 words
כִּ֥יforconj · כִּי (H3588)Causal conjunction (second ground)כִּי (H3588) 'for'.
כָלallN m sg constr · כֹּל (H3605)Subject quantifier, in constructכֹּל (H3605) 'all'.
משפטוhis judgmentN m sg constr + 3ms suffix (ketiv) · מִשְׁפָּט (H4941)Genitive of כָל (ketiv reading: 'all his judgment')מִשְׁפָּט (H4941) 'judgment, ordinance'; the ketiv is the singular (or defective plural) spelling, collective 'all his justice'.
מִשְׁפָּטָ֖יוhis judgmentsN m pl constr + 3ms suffix (qere) · מִשְׁפָּט (H4941)Genitive of כָל (qere reading)מִשְׁפָּט (H4941) 'legal ruling, ordinance'; the qere plural agrees with Ps 18:23 and LXX τὰ κρίματα αὐτοῦ. Paired with 'statutes', a Deuteronomic word-pair for the Torah (Deut 4:1; 17:19).
לְנֶגְדִּ֑יbefore meprep לְ + prep נֶגֶד + 1cs suffix · נֶגֶד (H5048)Predicate prepositional phrase of the verbless clauseנֶגֶד (H5048) 'in front of'; 'before me' = kept constantly in view.
וְחֻקֹּתָ֖יוand his statutesconj וְ + N f pl constr + 3ms suffix · חֻקָּה (H2708)Fronted object (casus pendens) resumed by מִמֶּנָּהחֻקָּה (H2708) 'statute, prescribed decree', from חָקַק 'inscribe'.
לֹאnotnegative particle · לֹא (H3808)Negationלֹא (H3808) 'not'.
אָס֥וּרI turned asideQal impf 1cs · סוּר (H5493)Predicate verb→ Yiqtol with past reference: habitual non-deviationסוּר (H5493) 'to turn aside'; Deuteronomic 'not turn aside to right or left' (Deut 17:20, of the king). Ps 18:23 reads Hiphil לֹא אָסִיר מֶנִּי 'I did not put away from me'.
מִמֶּֽנָּהfrom themprep מִן + 3fs suffix · מִן (H4480)Prepositional phrase of separation (resumptive)מִן (H4480); the 3fs suffix refers collectively to the feminine plural חֻקֹּתָיו ('from it' = from them).
24

וָאֶהְיֶ֥ה תָמִ֖ים ל֑וֹ וָאֶשְׁתַּמְּרָ֖ה מֵעֲוֺנִֽי

I was blameless toward him, and I kept myself from my iniquity.

Confession — blamelessnesswə (narrative)
תָּמִים ('whole, blameless') is the integrity term of Noah, Abraham, and Job. 'My iniquity' concedes that iniquity was a real possibility the king guarded against — the most notable tension in the song with the adultery and murder of ch. 11, which the final form of the book invites readers to weigh.
Word-by-word analysis· 5 words
וָאֶהְיֶ֥הand I wasconj וְ + Qal wayyiqtol 1cs · הָיָה (H1961)Predicate verb (main clause)→ Wayyiqtol: summarizing past conductהָיָה (H1961) 'to be'.
תָמִ֖יםblamelessAdj m sg abs · תָּמִים (H8549)Predicate adjectiveתָּמִים (H8549) 'whole, complete, blameless', from תָּמַם; wholehearted integrity (Gen 6:9; 17:1; Deut 18:13). Set after ch. 11 in the book's final shape, the claim sits in real tension with the Bathsheba-Uriah story; in the royal-psalm idiom it asserts undivided covenant loyalty rather than sinlessness, and the book leaves readers to weigh the two.
ל֑וֹtoward himprep לְ + 3ms suffix · לְDative of relationלוֹ 'to/toward him'; Ps 18:24 reads עִמּוֹ 'with him'; LXX αὐτῷ agrees with Samuel.
וָאֶשְׁתַּמְּרָ֖הand I kept myselfconj וְ + Hitpael wayyiqtol 1cs + paragogic ה · שָׁמַר (H8104)Predicate verb (coordinate)→ Wayyiqtol: reflexive vigilance as past conductשָׁמַר (H8104) Hitpael 'to guard oneself' (metathesis of ת and שׁ); the paragogic -ָה on a wayyiqtol 1cs is a common late/poetic form.
מֵעֲוֺנִֽיfrom my iniquityprep מִן + N m sg constr + 1cs suffix · עָוֺן (H5771)Prepositional phrase of separationעָוֺן (H5771) 'iniquity, guilt', from עָוָה 'bend, twist'; 'my iniquity' = the sin to which I was liable — an implicit admission of vulnerability, not a denial of human frailty.
25

וַיָּ֧שֶׁב יְהוָ֛ה לִ֖י כְּצִדְקָתִ֑י כְּבֹרִ֖י לְנֶ֥גֶד עֵינָֽיו

So YHWH repaid me according to my righteousness, according to my cleanness before his eyes.

Confession — inclusio: recompense restatedwə (narrative)
The wayyiqtol repeats v.21 to close the strophe. Samuel's כְּבֹרִי 'my cleanness' is shorter than Ps 18:25 'the cleanness of my hands'.
Word-by-word analysis· 7 words
וַיָּ֧שֶׁבso repaidconj וְ + Hiphil wayyiqtol 3ms · שׁוּב (H7725)Predicate verb (main clause; inclusio with v.21)→ Wayyiqtol: consequential — recompenseשׁוּב (H7725) Hiphil 'to return, repay'; picks up יָשִׁיב of v.21.
יְהוָ֛הYHWHN proper (divine name) · יְהוָה (H3068)Subjectיְהוָה (H3068).
לִ֖יmeprep לְ + 1cs suffix · לְIndirect objectלִי 'to me'.
כְּצִדְקָתִ֑יaccording to my righteousnessprep כְּ + N f sg constr + 1cs suffix · צְדָקָה (H6666)Prepositional phrase of normצְדָקָה (H6666) 'righteousness'; repeats v.21 to close the strophe.
כְּבֹרִ֖יaccording to my cleannessprep כְּ + N m sg constr + 1cs suffix · בֹּר (H1252)Prepositional phrase of norm (parallel)בֹּר (H1252) 'cleanness'; Ps 18:25 and the LXX (τὴν καθαριότητα τῶν χειρῶν μου) read 'the cleanness of my hands', as in v.21.
לְנֶ֥גֶדbeforeprep לְ + prep · נֶגֶד (H5048)Compound prepositionנֶגֶד (H5048) 'in front of'; 'before his eyes' = as he sees it.
עֵינָֽיוhis eyesN f du constr + 3ms suffix · עַיִן (H5869)Object of the prepositionעַיִן (H5869) 'eye'; divine assessment, cf. 11:27 'the thing David had done was evil in the eyes of YHWH' — a pointed contrast in the book's final form.
26

עִם חָסִ֖יד תִּתְחַסָּ֑ד עִם גִּבּ֥וֹר תָּמִ֖ים תִּתַּמָּֽם

With the loyal you show yourself loyal; with the blameless warrior you show yourself blameless;

Principle of divine reciprocity (strophe opening)asyndeton
The song moves from personal testimony to a wisdom maxim addressed to God in the second person. The reflexive Hitpaels (תִּתְחַסָּד, תִּתַּמָּם) portray YHWH as mirroring the covenant partner's character. Samuel's גִּבּוֹר 'warrior' differs from Ps 18:26 גְּבַר 'man'.
Word-by-word analysis· 7 words
עִםwithprep · עִם (H5973)Preposition (fronted, of relationship)עִם (H5973) 'with'; the anaphoric עִם heads each of the four lines of vv.26-27.
חָסִ֖ידthe loyalAdj m sg abs (substantival) · חָסִיד (H2623)Object of the prepositionחָסִיד (H2623) 'loyal, faithful, godly', one who practices חֶסֶד — the covenant loyalty YHWH shows the king in v.51.
תִּתְחַסָּ֑דyou show yourself loyalHitpael impf 2ms · חָסַד (H2616)Predicate verb (main clause), direct address to YHWH→ Yiqtol: gnomic — the constant principle of God's dealingחָסַד (H2616) Hitpael 'to show oneself loyal/kind', denominative from חֶסֶד; the reflexive expresses God's self-presentation matching the partner.
עִםwithprep · עִם (H5973)Preposition (anaphora)עִם (H5973) 'with'.
גִּבּ֥וֹרthe warriorAdj m sg abs (substantival) · גִּבּוֹר (H1368)Object of the prepositionגִּבּוֹר (H1368) 'mighty man, warrior'. Ps 18:26 reads גְּבַר 'man'; LXX ἀνδρὸς τελείου matches the Psalm's sense. Samuel's 'blameless warrior' suits the military cast of the song.
תָּמִ֖יםblamelessAdj m sg abs · תָּמִים (H8549)Attributive adjective modifying גִּבּוֹרתָּמִים (H8549) 'blameless, whole'; recalls v.24.
תִּתַּמָּֽםyou show yourself blamelessHitpael impf 2ms (ת assimilated) · תָּמַם (H8552)Predicate verb (parallel line)→ Yiqtol: gnomicתָּמַם (H8552) 'to be complete'; Hitpael with the stem ת assimilated to the root ת, 'deal blamelessly'. Ps 18:26 has the same form.
27

עִם נָבָ֖ר תִּתָּבָ֑ר וְעִם עִקֵּ֖שׁ תִּתַּפָּֽל

with the pure you show yourself pure, and with the crooked you show yourself tortuous.

Reciprocity — the negative caseasyndeton
The fourth line turns the principle: with the twisted God proves himself subtler still, outmaneuvering them. Both verbs are rare contracted forms (תִּתָּבָר, תִּתַּפָּל) where Ps 18:27 has the fuller תִּתְבָּרָר, תִּתְפַּתָּל.
Word-by-word analysis· 6 words
עִםwithprep · עִם (H5973)Preposition (anaphora)עִם (H5973) 'with'.
נָבָ֖רthe pureNiphal ptc m sg abs (substantival) · בָּרַר (H1305)Object of the preposition→ Participle (substantival): one who has purified himselfבָּרַר (H1305) 'to purify, sift'; Niphal ptc 'pure one' (Isa 52:11). Ps 18:27 has the same.
תִּתָּבָ֑רyou show yourself pureHitpael impf 2ms (contracted, ת assimilated) · בָּרַר (H1305)Predicate verb→ Yiqtol: gnomicבָּרַר (H1305); a rare contracted form, from *tithbarar with the geminate root shortened; Ps 18:27 has the regular Hitpael תִּתְבָּרָר. OSHB tags it Niphal; the reflexive-reciprocal sense and the parallel forms favor Hitpael.
וְעִםbut withconj וְ + prep · עִם (H5973)Contrastive conjunction + prepositionוְ here marks the turn to the negative case.
עִקֵּ֖שׁthe crookedAdj m sg abs (substantival) · עִקֵּשׁ (H6141)Object of the prepositionעִקֵּשׁ (H6141) 'twisted, perverse' (Deut 32:5 'a crooked and twisted generation'; Prov 8:8).
תִּתַּפָּֽלyou show yourself tortuousHitpael impf 2ms (contracted) · פָּתַל (H6617)Predicate verb (climactic line)→ Yiqtol: gnomic — God outmaneuvers the deviousפָּתַל (H6617) 'to twist'; Hitpael 'show oneself astute/tortuous'. MT's תִּתַּפָּל is an unusual form — apparently *tithpattal with the ת assimilated and the stem contracted — where Ps 18:27 has תִּתְפַּתָּל; some compare תָּפֵל 'insipid, foolish' (so 'you show yourself foolish' = make fools of them). LXX στρεβλωθήσῃ 'you will be twisted'.
28

וְאֶת עַ֥ם עָנִ֖י תּוֹשִׁ֑יעַ וְעֵינֶ֖יךָ עַל רָמִ֥ים תַּשְׁפִּֽיל

A humble people you save, but your eyes are upon the haughty — you bring them low.

Reciprocity — reversal of humble and haughtywə (contrastive)
The maxim is applied socially in the reversal motif of Hannah's song (1 Sam 2:7-8). Samuel's 'your eyes are upon the haughty' differs from Ps 18:28 'haughty eyes you bring low'.
Word-by-word analysis· 8 words
וְאֶתand [obj]conj וְ + obj marker · אֵת (H853)Conjunction + direct-object marker (fronted object)אֵת (H853) marks the fronted object; Ps 18:28 reads כִּי אַתָּה עַם עָנִי 'for you, a humble people...'.
עַ֥םa peopleN m sg abs · עַם (H5971)Direct object (fronted)עַם (H5971) 'people'.
עָנִ֖יhumbleAdj m sg abs · עָנִי (H6041)Attributive adjectiveעָנִי (H6041) 'poor, afflicted, humble'; the lowly whom YHWH raises (1 Sam 2:8).
תּוֹשִׁ֑יעַyou saveHiphil impf 2ms · יָשַׁע (H3467)Predicate verb→ Yiqtol: gnomicיָשַׁע (H3467) Hiphil 'to save'.
וְעֵינֶ֖יךָbut your eyesconj וְ + N f du constr + 2ms suffix · עַיִן (H5869)Subject of a verbless clause ('your eyes are upon...')עַיִן (H5869) 'eye'; YHWH's watchful, hostile gaze on the proud. Ps 18:28 reads וְעֵינַיִם רָמוֹת תַּשְׁפִּיל 'but haughty eyes you bring low'.
עַלuponprep · עַל (H5921)Preposition (predicate)עַל (H5921) 'upon, against'.
רָמִ֥יםthe haughtyQal ptc m pl abs (substantival) · רוּם (H7311)Object of the preposition→ Participle (substantival): the exalted/proudרוּם (H7311) 'to be high'; 'the lofty ones' = the arrogant.
תַּשְׁפִּֽילyou bring lowHiphil impf 2ms · שָׁפֵל (H8213)Predicate verb (asyndetic, purpose/result: '[that] you may bring them low')→ Yiqtol: gnomic — the reversal principleשָׁפֵל (H8213) Hiphil 'to make low, humble'; the reversal of Hannah's song (1 Sam 2:7 מַשְׁפִּיל אַף מְרוֹמֵם).
29

כִּֽי אַתָּ֥ה נֵירִ֖י יְהוָ֑ה וַיהוָ֖ה יַגִּ֥יהַּ חָשְׁכִּֽי

For you are my lamp, O YHWH, and YHWH lights up my darkness.

Praise — YHWH as the king's lamp (strophe opening)kî (asseverative/explanatory)
The lamp is an image of life and dynastic continuity (cf. 21:17 'the lamp of Israel'; 1 Kgs 11:36). Samuel equates YHWH with the lamp itself where Ps 18:29 reads 'you light my lamp'.
Word-by-word analysis· 7 words
כִּֽיforconj · כִּי (H3588)Explanatory/asseverative conjunction opening a new stropheכִּי (H3588) 'for, indeed'.
אַתָּ֥הyouindependent pronoun 2ms · אַתָּה (H859)Subject of a verbless clauseאַתָּה (H859) 'you'; emphatic direct address.
נֵירִ֖יmy lampN m sg constr + 1cs suffix · נִיר (H5216)Predicate nominativeנִיר / נֵר (H5216) 'lamp'; image of life and royal dynasty (21:17 'that you not quench the lamp of Israel'; 1 Kgs 11:36). Ps 18:29 reads כִּי אַתָּה תָּאִיר נֵרִי 'for you light my lamp'; LXX ὁ λύχνος μου agrees with Samuel.
יְהוָ֑הO YHWHN proper (divine name) · יְהוָה (H3068)Vocativeיְהוָה (H3068).
וַיהוָ֖הand YHWHconj וְ + N proper (divine name) · יְהוָה (H3068)Subject (fronted)יְהוָה (H3068); Ps 18:29 reads יְהוָה אֱלֹהַי 'YHWH my God'.
יַגִּ֥יהַּlights upHiphil impf 3ms · נָגַהּ (H5050)Predicate verb→ Yiqtol: habitual/gnomicנָגַהּ (H5050) Hiphil 'to cause to shine, illumine'; related to נֹגַהּ 'brightness' (v.13) — the theophanic light now brightens the king's darkness.
חָשְׁכִּֽיmy darknessN m sg constr + 1cs suffix · חֹשֶׁךְ (H2822)Direct objectחֹשֶׁךְ (H2822) 'darkness'; distress and danger (cf. v.12 where darkness veiled God).
30

כִּ֥י בְכָ֖ה אָר֣וּץ גְּד֑וּד בֵּאלֹהַ֖י אֲדַלֶּג שֽׁוּר

For by you I can run against a troop; by my God I can leap over a wall.

Praise — empowerment for warkî (explanatory)
Parallel instrumental phrases (בְכָה / בֵּאלֹהַי) credit divine enabling for the warrior's feats; the yiqtols are potential ('I can'). LXX μονόζωνος ('lightly armed') renders גְּדוּד differently.
Word-by-word analysis· 7 words
כִּ֥יforconj · כִּי (H3588)Explanatory conjunctionכִּי (H3588) 'for, indeed'.
בְכָ֖הby youprep בְּ + 2ms suffix (full spelling) · בְּInstrumental prepositional phrase (fronted)בְּ with the long 2ms suffix -כָה (plene, cf. Ps 18:30 בְךָ); 'by your help'.
אָר֣וּץI can runQal impf 1cs · רוּץ (H7323)Predicate verb→ Yiqtol: potential/capabilityרוּץ (H7323) 'to run'; with an accusative, 'run (against)' = charge (so most), though some emend to אָרֹץ 'crush' (from רָצַץ).
גְּד֑וּדa troopN m sg abs · גְּדוּד (H1416)Direct object / accusative of goalגְּדוּד (H1416) 'raiding band, troop' (1 Sam 30:8, 15 of the Amalekite raiders). LXX renders μονόζωνος 'lightly armed', reading the word as describing the runner.
בֵּאלֹהַ֖יby my Godprep בְּ + N m pl constr + 1cs suffix · אֱלֹהִים (H430)Instrumental prepositional phrase (parallel)אֱלֹהִים (H430); 'by my God' parallels 'by you'.
אֲדַלֶּגI can leap overPiel impf 1cs · דָּלַג (H1801)Predicate verb (parallel colon)→ Yiqtol: potential/capabilityדָּלַג (H1801) Piel 'to leap, spring over' (Isa 35:6; Zeph 1:9).
שֽׁוּרa wallN m sg abs · שׁוּר (H7791)Direct objectשׁוּר (H7791) 'wall', a rare poetic word (Gen 49:22); scaling a city wall as the hero's feat.
31

הָאֵ֖ל תָּמִ֣ים דַּרְכּ֑וֹ אִמְרַ֤ת יְהוָה֙ צְרוּפָ֔ה מָגֵ֣ן ה֔וּא לְכֹ֖ל הַחֹסִ֥ים בּֽוֹ

This God — his way is blameless; the word of YHWH is refined; he is a shield to all who take refuge in him.

Praise — hymnic confession of God's way and wordasyndeton
A casus pendens (הָאֵל) fronts God as topic. The verse links God's blameless way to the king's claimed blamelessness (vv.24, 26, 33) and restates the refuge motif of v.3 in general terms (cf. Prov 30:5).
Word-by-word analysis· 11 words
הָאֵ֖לthis Godart + N m sg abs · אֵל (H410)Casus pendens (fronted topic), resumed by the suffix of דַּרְכּוֹאֵל (H410) 'God, mighty one'; with the article, 'the God' = this God just described (demonstrative force). Recurs as the head of vv.33, 48.
תָּמִ֣יםblamelessAdj m sg abs · תָּמִים (H8549)Predicate adjective (fronted)תָּמִים (H8549) 'whole, perfect'; the word of the king's claim (vv.24, 26) now predicated of God's way (cf. Deut 32:4 'the Rock, his work is perfect').
דַּרְכּ֑וֹhis wayN (c) sg constr + 3ms suffix · דֶּרֶךְ (H1870)Subject of the verbless clauseדֶּרֶךְ (H1870) 'way, conduct'.
אִמְרַ֤תthe word ofN f sg constr · אִמְרָה (H565)Subject of the verbless clause, construct headאִמְרָה (H565) 'word, utterance, promise' (poetic); the spoken promise of YHWH (cf. the promise of ch. 7).
יְהוָה֙YHWHN proper (divine name) · יְהוָה (H3068)Genitive of constructיְהוָה (H3068).
צְרוּפָ֔הrefinedQal passive ptc f sg abs · צָרַף (H6884)Predicate participle→ Passive participle: resultant state — tried and proved pureצָרַף (H6884) 'to smelt, refine, test'; metallurgical image of a word that proves true under test (Ps 12:7; Prov 30:5). LXX adds κραταιόν.
מָגֵ֣ןa shieldN (c) sg abs · מָגֵן (H4043)Predicate nominative (fronted)מָגֵן (H4043) 'shield'; recalls v.3.
ה֔וּאhe isindependent pronoun 3ms · הוּא (H1931)Subject of the verbless clauseהוּא (H1931) 'he'.
לְכֹ֖לto allprep לְ + N m sg constr · כֹּל (H3605)Dative of advantageכֹּל (H3605) 'all'; the principle is widened beyond the king.
הַחֹסִ֥יםwho take refugeart + Qal ptc m pl abs · חָסָה (H2620)Genitive of כֹּל (substantival participle)→ Participle (substantival): those who characteristically seek refugeחָסָה (H2620) 'to take refuge'; echoes v.3 אֶחֱסֶה בּוֹ.
בּֽוֹin himprep בְּ + 3ms suffix · בְּPrepositional complement of the participleבּוֹ 'in him'.
32

כִּ֥י מִי אֵ֖ל מִבַּלְעֲדֵ֣י יְהוָ֑ה וּמִ֥י צ֖וּר מִֽבַּלְעֲדֵ֥י אֱלֹהֵֽינוּ

For who is God besides YHWH? And who is a rock besides our God?

Praise — incomparabilitykî (explanatory)
Rhetorical questions confess YHWH's uniqueness (cf. 1 Sam 2:2 'there is no rock like our God'). The one plural suffix of the song ('our God') briefly widens the voice to the community; LXX renders צוּר as κτίστης 'creator'.
Word-by-word analysis· 9 words
כִּ֥יforconj · כִּי (H3588)Explanatory conjunctionכִּי (H3588) 'for'.
מִיwhointerrogative pronoun · מִי (H4310)Interrogative subject of a rhetorical questionמִי (H4310) 'who?'; rhetorical, expecting 'no one'.
אֵ֖לis GodN m sg abs · אֵל (H410)Predicate nominativeאֵל (H410) 'God'; LXX ἰσχυρός.
מִבַּלְעֲדֵ֣יbesidesprep מִן + prep · בִּלְעֲדֵי (H1107)Compound preposition of exclusionבִּלְעֲדֵי (H1107) 'apart from, except'; Ps 18:32 has מִבַּלְעֲדֵי here but זוּלָתִי in the second colon.
יְהוָ֑הYHWHN proper (divine name) · יְהוָה (H3068)Object of the prepositionיְהוָה (H3068).
וּמִ֥יand whoconj וְ + interrogative pronoun · מִי (H4310)Interrogative subject (parallel question)מִי (H4310) 'who?'.
צ֖וּרis a rockN m sg abs · צוּר (H6697)Predicate nominativeצוּר (H6697) 'rock'; cf. 1 Sam 2:2 'there is no rock like our God'. LXX renders κτίστης 'creator' here, an interpretive translation.
מִֽבַּלְעֲדֵ֥יbesidesprep מִן + prep · בִּלְעֲדֵי (H1107)Compound preposition of exclusionבִּלְעֲדֵי (H1107) 'apart from'.
אֱלֹהֵֽינוּour GodN m pl constr + 1cp suffix · אֱלֹהִים (H430)Object of the prepositionאֱלֹהִים (H430); the only first-plural in the song — the confession becomes Israel's.
33

הָאֵ֥ל מָעוּזִּ֖י חָ֑יִל וַיַּתֵּ֥ר תָּמִ֖ים דרכו דַּרְכִּֽי

This God is my strong refuge, and he has set my way free, blameless.

Praise — transition to God as the king's equipperasyndeton
The second הָאֵל clause begins the participial portrait of vv.33-35. The colon is difficult in MT (וַיַּתֵּר תָּמִים דַּרְכִּי); Ps 18:33 reads 'who girds me with strength and made my way blameless', and the LXX's κραταιῶν με δυνάμει suggests a text like the Psalm.
Word-by-word analysis· 7 words
הָאֵ֥לthis Godart + N m sg abs · אֵל (H410)Subject (casus pendens) of a verbless clauseאֵל (H410); resumes v.31's הָאֵל. Ps 18:33 has הָאֵל הַמְאַזְּרֵנִי חָיִל 'the God who girds me with strength'.
מָעוּזִּ֖יmy refugeN m sg constr + 1cs suffix · מָעוֹז (H4581)Predicate nominativeמָעוֹז (H4581) 'stronghold, place of safety' (from עוּז 'take refuge' or עָזַז 'be strong'). Samuel's 'my strong refuge' differs from Ps 18:33's participle 'who girds me'; LXX ὁ κραταιῶν με 'who strengthens me' reflects a verbal reading, and 4QSam^a (4Q51) agrees with the Psalm, reading ]אל מאזרני ח[יל 'God who girds me with strength'.
חָ֑יִלstrongN m sg abs · חַיִל (H2428)Genitive/adverbial accusative qualifying מָעוּזִּי ('my refuge of strength')חַיִל (H2428) 'strength, might, army'; awkward after a suffixed noun in MT, a sign of the textual difficulty (in Ps 18:33 it is the object of 'girds').
וַיַּתֵּ֥רand he set freeconj וְ + Hiphil wayyiqtol 3ms · נָתַר (H5425)Predicate verb (coordinate clause)→ Wayyiqtol: completed act of enablingנָתַר (H5425) Hiphil 'to let loose, set free' (Ps 105:20; 146:7); here obscure: 'he set loose/opened my way (to be) blameless'. Ps 18:33 reads וַיִּתֵּן תָּמִים דַּרְכִּי 'and made my way blameless'; LXX ἐξετίναξεν 'shook out' tries to render MT's verb. Some derive from תּוּר 'search out' ('he explored my way').
תָּמִ֖יםblamelessAdj m sg abs · תָּמִים (H8549)Predicative accusative (object complement) of דַּרְכִּיתָּמִים (H8549) 'whole, perfect'; God makes the king's way share the character of his own (v.31).
דרכוhis wayN (c) sg constr + 3ms suffix (ketiv) · דֶּרֶךְ (H1870)Direct object (ketiv reading)דֶּרֶךְ (H1870); the ketiv 'his way' ('he set free, blameless, his way') echoes v.31 'his way is blameless' — possibly an assimilation or a yod/waw confusion.
דַּרְכִּֽיmy wayN (c) sg constr + 1cs suffix (qere) · דֶּרֶךְ (H1870)Direct object (qere reading)דֶּרֶךְ (H1870); the qere 'my way' agrees with Ps 18:33 and LXX τὴν ὁδόν μου.
34

מְשַׁוֶּ֥ה רגליו רַגְלַ֖י כָּאַיָּל֑וֹת וְעַ֥ל בָּמוֹתַ֖י יַעֲמִדֵֽנִי

who makes my feet like the does', and sets me on my heights;

Equipping — sure-footednessasyndeton
An attributive participle describes God; the hind's agility and the 'heights' evoke mastery of the terrain in mountain warfare (cf. Hab 3:19). Kethiv רגליו 'his feet' / Qere רַגְלַי 'my feet' are both annotated.
Word-by-word analysis· 7 words
מְשַׁוֶּ֥הwho makesPiel ptc m sg abs · שָׁוָה (H7737)Attributive/appositional participle describing הָאֵל→ Participle: characteristic divine action (hymnic style)שָׁוָה (H7737) Piel 'to make like, level, set'; 'makes my feet like (those of) does'.
רגליוhis feetN f du constr + 3ms suffix (ketiv) · רֶגֶל (H7272)Direct object (ketiv reading)רֶגֶל (H7272) 'foot'; the ketiv 'his feet' is the same waw/yod interchange as v.33 ketiv דרכו.
רַגְלַ֖יmy feetN f du constr + 1cs suffix (qere) · רֶגֶל (H7272)Direct object (qere reading)רֶגֶל (H7272) 'foot'; the qere agrees with Ps 18:34 and LXX τοὺς πόδας μου.
כָּאַיָּל֑וֹתlike the doesprep כְּ + art + N f pl abs · אַיָּלָה (H355)Comparative prepositional phraseאַיָּלָה (H355) 'doe, hind'; proverbial for sure-footed speed on rocky heights (Hab 3:19).
וְעַ֥לand onconj וְ + prep · עַל (H5921)Conjunction + preposition (fronted locative)עַל (H5921) 'upon'.
בָּמוֹתַ֖יmy heightsN f pl constr + 1cs suffix · בָּמָה (H1116)Object of the prepositionבָּמָה (H1116) 'height, high place, back'; here the heights of terrain the king commands (Deut 32:13; 33:29 'you shall tread on their heights'), not cult places. Ps 18:34 has the same.
יַעֲמִדֵֽנִיhe sets meHiphil impf 3ms + 1cs suffix · עָמַד (H5975)Predicate verb (continuing the participial description)→ Yiqtol: habitual divine actionעָמַד (H5975) Hiphil 'to cause to stand, station'.
35

מְלַמֵּ֥ד יָדַ֖י לַמִּלְחָמָ֑ה וְנִחַ֥ת קֶֽשֶׁת נְחוּשָׁ֖ה זְרֹעֹתָֽי

who trains my hands for battle, so that my arms can bend a bow of bronze.

Equipping — military trainingwə (consecutive)
The second participle continues the description; the 'bronze bow' is hyperbole for superhuman strength. Samuel's 3ms וְנִחַת (with plural 'arms') is grammatically rough beside Ps 18:35 וְנִחֲתָה.
Word-by-word analysis· 7 words
מְלַמֵּ֥דwho trainsPiel ptc m sg abs · לָמַד (H3925)Attributive/appositional participle describing God→ Participle: characteristic divine actionלָמַד (H3925) Piel 'to teach, train'; God as drill-master of the warrior (Ps 144:1).
יָדַ֖יmy handsN f du constr + 1cs suffix · יָד (H3027)Direct objectיָד (H3027) 'hand'.
לַמִּלְחָמָ֑הfor battleprep לְ + art + N f sg abs · מִלְחָמָה (H4421)Prepositional phrase of purposeמִלְחָמָה (H4421) 'battle, war'.
וְנִחַ֥תso that can bendconj וְ + Piel perf 3ms · נָחֵת (H5181)Predicate verb of a consecutive clause (subject זְרֹעֹתָי)→ Weqatal-type consecutive: resulting capabilityנָחֵת (H5181) 'to go down'; Piel 'press down, bend (a bow)'. The 3ms with a plural subject is anomalous; Ps 18:35 reads וְנִחֲתָה (3fs, perhaps with קֶשֶׁת as subject: 'a bronze bow is bent by my arms'). LXX κατάξας 'breaking' reads differently.
קֶֽשֶׁתa bow ofN f sg constr · קֶשֶׁת (H7198)Direct object, construct headקֶשֶׁת (H7198) 'bow'; cf. David's lament 'the Song of the Bow' (1:18).
נְחוּשָׁ֖הbronzeN f sg abs · נְחוּשָׁה (H5154)Genitive of materialנְחוּשָׁה (H5154) 'bronze, copper'; a bronze bow is hyperbolic (bows were wood and horn), signifying superhuman strength (Job 20:24).
זְרֹעֹתָֽיmy armsN f pl constr + 1cs suffix · זְרוֹעַ (H2220)Subject of וְנִחַת (postposed)זְרוֹעַ (H2220) 'arm, forearm'; symbol of strength.
36

וַתִּתֶּן לִ֖י מָגֵ֣ן יִשְׁעֶ֑ךָ וַעֲנֹתְךָ֖ תַּרְבֵּֽנִי

You have given me the shield of your salvation, and your answering has made me great.

Direct address — gifts to the king (strophe opening)wə (narrative)
The song returns to second-person address. MT עֲנֹתְךָ 'your answering' (LXX ὑπακοή σου) differs from Ps 18:36 עַנְוַתְךָ 'your condescension'; Samuel also lacks the Psalm's 'your right hand upheld me'.
Word-by-word analysis· 6 words
וַתִּתֶּןand you gaveconj וְ + Qal wayyiqtol 2ms · נָתַן (H5414)Predicate verb (main clause), direct address→ Wayyiqtol: completed giftנָתַן (H5414) 'to give'.
לִ֖יmeprep לְ + 1cs suffix · לְIndirect objectלִי 'to me'.
מָגֵ֣ןthe shield ofN (c) sg constr · מָגֵן (H4043)Direct object, construct headמָגֵן (H4043) 'shield'.
יִשְׁעֶ֑ךָyour salvationN m sg constr + 2ms suffix · יֶשַׁע (H3468)Genitive of constructיֶשַׁע (H3468) 'salvation'; 'the shield that is your saving help'. Ps 18:36 continues 'and your right hand upheld me', absent in Samuel and the LXX here.
וַעֲנֹתְךָ֖and your answeringconj וְ + Qal inf constr + 2ms suffix · עָנָה (H6031)Subject of תַּרְבֵּנִי (verbal noun)→ Infinitive (nominal): 'your answering' — YHWH's response to prayerCrux: MT עֲנֹתְךָ, most naturally an infinitive of עָנָה I 'answer' (so LXX ἡ ὑπακοή σου 'your hearing/response'); OSHB assigns H6031 עָנָה 'be humble, afflict', i.e., 'your humbling/condescension'. Ps 18:36 reads עַנְוַתְךָ 'your gentleness, condescension' (עֲנָוָה). Either reading has good sense: God's answer, or God's stooping, made the king great.
תַּרְבֵּֽנִיmade me greatHiphil impf 3fs (OSHB: 2ms) + 1cs suffix ·רָבָה (H7235)Predicate verb→ Yiqtol in poetic past narration: magnified/increasedרָבָה (H7235) Hiphil 'to make many, great'. OSHB parses 2ms ('you made me great'); with עֲנֹתְךָ as subject the form is 3fs — both parsings are possible for תַּ-.
37

תַּרְחִ֥יב צַעֲדִ֖י תַּחְתֵּ֑נִי וְלֹ֥א מָעֲד֖וּ קַרְסֻלָּֽי

You widened my stride beneath me, and my ankles did not slip.

Gifts to the king — secure movementasyndeton
The broadened path echoes the 'broad place' of v.20 and prepares for the pursuit of v.38.
Word-by-word analysis· 6 words
תַּרְחִ֥יבyou widenedHiphil impf 2ms · רָחַב (H7337)Predicate verb (main clause)→ Yiqtol in poetic past narrationרָחַב (H7337) Hiphil 'to make wide, enlarge'; links to מֶרְחָב 'broad place' (v.20).
צַעֲדִ֖יmy strideN m sg constr + 1cs suffix · צַעַד (H6806)Direct objectצַעַד (H6806) 'step, pace'; a widened stride = unhindered, confident movement.
תַּחְתֵּ֑נִיbeneath meprep + 1cs suffix · תַּחַת (H8478)Locative prepositional phraseתַּחַת (H8478) 'under'; with the energic-looking suffix -ֵנִי.
וְלֹ֥אand notconj וְ + negative particle · לֹא (H3808)Negation of the result clauseלֹא (H3808) 'not'.
מָעֲד֖וּdid slipQal perf 3cp · מָעַד (H4571)Predicate verb→ Perfective: denial of any completed slipמָעַד (H4571) 'to slip, totter' (Ps 26:1; 37:31).
קַרְסֻלָּֽיmy anklesN f du constr + 1cs suffix · קַרְסֹל (H7166)Subjectקַרְסֹל (H7166) 'ankle', only here and Ps 18:37; LXX τὰ σκέλη μου 'my legs'.
38

אֶרְדְּפָ֥ה אֹיְבַ֖י וָאַשְׁמִידֵ֑ם וְלֹ֥א אָשׁ֖וּב עַד כַּלּוֹתָֽם

I pursued my enemies and destroyed them; I did not turn back until they were finished.

Royal victory report (strophe opening)asyndeton
The king becomes the grammatical subject of warfare, but the preceding strophe has made clear who empowers him. Samuel's 'destroyed them' differs from Ps 18:38 'overtook them'.
Word-by-word analysis· 7 words
אֶרְדְּפָ֥הI pursuedQal cohortative 1cs · רָדַף (H7291)Predicate verb (main clause)→ Cohortative form with past reference: resolute action (the 'pseudo-cohortative' of past narration)רָדַף (H7291) 'to pursue, chase'; the lengthened form in a past-narrative context expresses determination rather than wish. Ps 18:38 reads אֶרְדּוֹף.
אֹיְבַ֖יmy enemiesQal ptc m pl constr (substantival) + 1cs suffix · אָיַב (H341)Direct object→ Participle (substantival): enemiesאָיַב (H341) 'to be hostile'.
וָאַשְׁמִידֵ֑םand destroyed themconj וְ + Hiphil wayyiqtol 1cs + 3mp suffix · שָׁמַד (H8045)Predicate verb (coordinate)→ Wayyiqtol: sequential resultשָׁמַד (H8045) Hiphil 'to exterminate, annihilate'. Ps 18:38 reads וְאַשִּׂיגֵם 'and overtook them'; LXX ἀφανιῶ αὐτούς agrees with Samuel.
וְלֹ֥אand notconj וְ + negative particle · לֹא (H3808)Negationלֹא (H3808) 'not'.
אָשׁ֖וּבdid I turn backQal impf 1cs · שׁוּב (H7725)Predicate verb→ Yiqtol with past reference: continuous non-returnשׁוּב (H7725) 'to turn back, return'.
עַדuntilprep · עַד (H5704)Temporal preposition governing the infinitiveעַד (H5704) 'until'.
כַּלּוֹתָֽםthey were finishedPiel inf constr + 3mp suffix · כָּלָה (H3615)Object of the preposition עַד (temporal clause)→ Infinitive: terminus of the pursuit — 'my finishing them'כָּלָה (H3615) Piel 'to finish off, make an end of'; the suffix is objective ('until I had finished them').
39

וָאֲכַלֵּ֥ם וָאֶמְחָצֵ֖ם וְלֹ֣א יְקוּמ֑וּן וַֽיִּפְּל֖וּ תַּ֥חַת רַגְלָֽי

I finished them off and struck them through, and they could not rise; they fell under my feet.

Victory — the enemies' collapsewə (narrative)
A chain of wayyiqtols piles up destruction; Samuel adds וָאֲכַלֵּם ('I finished them') to the Psalm text. 'Under my feet' is the royal image of subjugation (cf. 1 Kgs 5:17; Ps 110:1).
Word-by-word analysis· 7 words
וָאֲכַלֵּ֥םand I finished them offconj וְ + Piel wayyiqtol 1cs + 3mp suffix · אָכַל (H398)Predicate verb (main clause)→ Wayyiqtol: sequential — annihilation completedכָּלָה (H3615) Piel 'to finish, consume'; picks up כַּלּוֹתָם of v.38. OSHB assigns H398 אָכַל 'eat, devour', which the pointing does not support. This verb is a plus in Samuel against Ps 18:39 and the LXX (θλάσω αὐτούς for the next verb).
וָאֶמְחָצֵ֖םand struck them throughconj וְ + Qal wayyiqtol 1cs + 3mp suffix · מָחַץ (H4272)Predicate verb (coordinate)→ Wayyiqtol: sequentialמָחַץ (H4272) 'to smite through, shatter' (Judg 5:26 of Jael; Num 24:17).
וְלֹ֣אand notconj וְ + negative particle · לֹא (H3808)Negation of result clauseלֹא (H3808) 'not'.
יְקוּמ֑וּןcould they riseQal impf 3mp + paragogic nun · קוּם (H6965)Predicate verb (result clause)→ Yiqtol: potential/result — they were unable to riseקוּם (H6965) 'to rise, stand'; the paragogic nun adds emphasis or poetic weight.
וַֽיִּפְּל֖וּand they fellconj וְ + Qal wayyiqtol 3mp · נָפַל (H5307)Predicate verb (coordinate)→ Wayyiqtol: sequential outcomeנָפַל (H5307) 'to fall'; fall in battle.
תַּ֥חַתunderprep · תַּחַת (H8478)Prepositionתַּחַת (H8478) 'under'.
רַגְלָֽיmy feetN f du constr + 1cs suffix · רֶגֶל (H7272)Object of the prepositionרֶגֶל (H7272) 'foot'; subjugation imagery (Josh 10:24; Ps 110:1).
40

וַתַּזְרֵ֥נִי חַ֖יִל לַמִּלְחָמָ֑ה תַּכְרִ֥יעַ קָמַ֖י תַּחְתֵּֽנִי

You girded me with strength for battle; you made those who rose against me bow beneath me.

Victory — attributed to Godwə (narrative)
The verse reasserts divine agency within the victory report: God arms the king, God makes the foe kneel.
Word-by-word analysis· 6 words
וַתַּזְרֵ֥נִיand you girded meconj וְ + Piel wayyiqtol 2ms + 1cs suffix (א elided) · אָזַר (H247)Predicate verb (main clause)→ Wayyiqtol: completed equippingאָזַר (H247) 'to gird'; a contracted spelling with the aleph quiescent and dropped (Ps 18:40 has וַתְּאַזְּרֵנִי). Girding = arming for action.
חַ֖יִלwith strengthN m sg abs · חַיִל (H2428)Second accusative (material of the girding)חַיִל (H2428) 'strength, valor'; the phrase Ps 18:33 has where Samuel v.33 differs.
לַמִּלְחָמָ֑הfor battleprep לְ + art + N f sg abs · מִלְחָמָה (H4421)Prepositional phrase of purposeמִלְחָמָה (H4421) 'battle'.
תַּכְרִ֥יעַyou made bowHiphil impf 2ms · כָּרַע (H3766)Predicate verb (asyndetic parallel)→ Yiqtol in poetic past narrationכָּרַע (H3766) Hiphil 'to make kneel, bring down'; the enemy forced to the knee.
קָמַ֖יthose who rose against meQal ptc m pl constr (substantival) + 1cs suffix · קוּם (H6965)Direct object→ Participle (substantival): assailantsקוּם (H6965) 'to rise'; 'my risers' = those who rise up against me (cf. v.49).
תַּחְתֵּֽנִיbeneath meprep + 1cs suffix · תַּחַת (H8478)Locative prepositional phraseתַּחַת (H8478) 'under'.
41

וְאֹ֣יְבַ֔י תַּ֥תָּה לִּ֖י עֹ֑רֶף מְשַׂנְאַ֖י וָאַצְמִיתֵֽם

My enemies — you made them turn their backs to me; those who hated me — I destroyed them.

Victory — rout and annihilationwə
Two fronted objects (casus pendens) set divine and royal action side by side. To 'give the neck' (עֹרֶף) is to put the enemy to flight.
Word-by-word analysis· 6 words
וְאֹ֣יְבַ֔יand my enemiesconj וְ + Qal ptc m pl constr (substantival) + 1cs suffix · אָיַב (H341)Fronted object (casus pendens)→ Participle (substantival): enemiesאָיַב (H341) 'to be hostile'.
תַּ֥תָּהyou made (turn)Qal perf 2ms (anomalous spelling) · נָתַן (H5414)Predicate verb→ Perfective: completed routנָתַן (H5414) 'to give'; תַּתָּה is an irregular, probably aphaeretic or scribally shortened spelling of נָתַתָּה (so Ps 18:41). 'Give someone the neck' = make them turn and flee (Exod 23:27).
לִּ֖יto meprep לְ + 1cs suffix · לְDative (toward me)לִי 'to me'.
עֹ֑רֶףthe back of the neckN m sg abs · עֹרֶף (H6203)Second accusative (what is 'given')עֹרֶף (H6203) 'back of the neck'; a fleeing enemy shows his neck.
מְשַׂנְאַ֖יthose who hated mePiel ptc m pl constr (substantival) + 1cs suffix · שָׂנֵא (H8130)Fronted object (casus pendens) resumed by the suffix of וָאַצְמִיתֵם→ Participle (substantival): intense hatersשָׂנֵא (H8130) Piel 'to hate intensely'; the Piel ptc is a poetic variant of the Qal 'haters' (v.18).
וָאַצְמִיתֵֽםand I destroyed themconj וְ + Hiphil wayyiqtol 1cs + 3mp suffix · צָמַת (H6789)Predicate verb→ Wayyiqtol: completed destructionצָמַת (H6789) Hiphil 'to put an end to, silence, destroy'. Ps 18:41 has the yiqtol וּמְשַׂנְאַי אַצְמִיתֵם; LXX ἐθανάτωσας 'you killed' makes God the subject.
42

יִשְׁע֖וּ וְאֵ֣ין מֹשִׁ֑יעַ אֶל יְהוָ֖ה וְלֹ֥א עָנָֽם

They looked, but there was none to save — to YHWH, but he did not answer them.

Victory — the enemies' unanswered cryasyndeton
The enemies' failed appeal inverts the king's answered cry of v.7. Samuel's יִשְׁעוּ 'they looked' differs from Ps 18:42 יְשַׁוְּעוּ 'they cried for help' (LXX βοήσονται agrees in sense with the Psalm).
Word-by-word analysis· 7 words
יִשְׁע֖וּthey lookedQal impf 3mp · שָׁעָה (H8159)Predicate verb (main clause)→ Yiqtol in poetic past narration: looking for helpשָׁעָה (H8159) 'to look (to, for help), gaze'. Ps 18:42 reads יְשַׁוְּעוּ 'they cried for help' (שָׁוַע), which LXX βοήσονται also reflects; Samuel's verb gives 'they looked (for help)'.
וְאֵ֣יןbut there was noneconj וְ + particle of nonexistence · אַיִן (H369)Negative existential (circumstantial clause)אַיִן (H369) 'there is not'.
מֹשִׁ֑יעַto saveHiphil ptc m sg abs (substantival) · יָשַׁע (H3467)Subject of the existential clause ('no savior')→ Participle (substantival): a delivererיָשַׁע (H3467) Hiphil ptc 'savior'; ironic reversal of v.3 (the king's מֹשִׁעִי).
אֶלtoprep · אֶל (H413)Preposition (direction of the appeal)אֶל (H413) 'to'; the enemies appeal even to YHWH.
יְהוָ֖הYHWHN proper (divine name) · יְהוָה (H3068)Object of the prepositionיְהוָה (H3068).
וְלֹ֥אbut notconj וְ + negative particle · לֹא (H3808)Negation (contrastive)לֹא (H3808) 'not'.
עָנָֽםhe answered themQal perf 3ms + 3mp suffix · עָנָה (H6030)Predicate verb→ Perfective: denial of an answerעָנָה (H6030) 'to answer'; the unanswered cry of the enemies contrasts with the king's heard cry (v.7) and with עֲנֹתְךָ (v.36).
43

וְאֶשְׁחָקֵ֖ם כַּעֲפַר אָ֑רֶץ כְּטִיט חוּצ֥וֹת אֲדִקֵּ֖ם אֶרְקָעֵֽם

I ground them fine as the dust of the earth; like the mud of the streets I crushed them, I stamped them down.

Victory — total humiliationwə
Similes of dust and street-mud express utter degradation. Samuel's doublet אֲדִקֵּם אֶרְקָעֵם corresponds to Ps 18:43 אֲרִיקֵם 'I emptied them out' — a d/r variant plus a conflation — and the LXX has only two verbs.
Word-by-word analysis· 7 words
וְאֶשְׁחָקֵ֖םand I ground them fineconj וְ + Qal impf 1cs + 3mp suffix · שָׁחַק (H7833)Predicate verb (main clause)→ Yiqtol with past reference (conj + yiqtol in poetry): vivid actionשָׁחַק (H7833) 'to pulverize, grind to powder' (Exod 30:36); cognate with שְׁחָקִים 'fine-dust clouds' (v.12).
כַּעֲפַרlike the dust ofprep כְּ + N m sg constr · עָפָר (H6083)Comparative prepositional phraseעָפָר (H6083) 'dust'. Ps 18:43 reads כְּעָפָר עַל פְּנֵי רוּחַ 'like dust before the wind'.
אָ֑רֶץthe earthN f sg abs · אֶרֶץ (H776)Genitive of constructאֶרֶץ (H776) 'earth, ground'.
כְּטִיטlike the mud ofprep כְּ + N m sg constr · טִיט (H2916)Comparative prepositional phrase (parallel, fronted)טִיט (H2916) 'mud, mire'.
חוּצ֥וֹתthe streetsN m pl abs · חוּץ (H2351)Genitive of constructחוּץ (H2351) 'outside; street'; street-mud trodden underfoot (Mic 7:10; Zech 10:5).
אֲדִקֵּ֖םI crushed themHiphil impf 1cs + 3mp suffix · דָּקַק (H1854)Predicate verb (parallel colon)→ Yiqtol with past referenceדָּקַק (H1854) Hiphil 'to crush fine, pulverize'. Ps 18:43 reads אֲרִיקֵם 'I emptied them out' — a d/r variant (אדקם / אריקם) of the kind seen in v.11.
אֶרְקָעֵֽםI stamped them downQal impf 1cs + 3mp suffix · רָקַע (H7554)Predicate verb (asyndetic, appositional to אֲדִקֵּם)→ Yiqtol with past referenceרָקַע (H7554) 'to stamp, beat out, spread flat' (Ezek 6:11; 25:6). A plus in Samuel against Ps 18:43, often seen as a conflate doublet of the variant אֲרִיקֵם/אֲדִקֵּם; the LXX has two verbs (ἐλέανα ... ἐλέπτυνα), not three.
44

וַֽתְּפַלְּטֵ֔נִי מֵרִיבֵ֖י עַמִּ֑י תִּשְׁמְרֵ֨נִי֙ לְרֹ֣אשׁ גּוֹיִ֔ם עַ֥ם לֹא יָדַ֖עְתִּי יַעַבְדֻֽנִי

You delivered me from the strife of my people; you kept me as head of the nations; a people I had not known serve me.

Dominion over the nations (strophe opening)wə (narrative)
'Strife of my people' likely recalls internal conflict (Saul's house, Absalom, Sheba), from which the king emerges as head over foreign peoples (cf. ch. 8). Samuel reads 'my people' and 'you kept me' (LXX φυλάξεις) where Ps 18:44 has 'the people' and 'you set me'.
Word-by-word analysis· 10 words
וַֽתְּפַלְּטֵ֔נִיand you delivered meconj וְ + Piel wayyiqtol 2ms + 1cs suffix · פָּלַט (H6403)Predicate verb (main clause)→ Wayyiqtol: completed rescueפָּלַט (H6403) Piel 'to bring to safety'; echoes מְפַלְטִי of v.2.
מֵרִיבֵ֖יfrom the strife ofprep מִן + N m pl constr · רִיב (H7379)Prepositional phrase of separation, construct headרִיב (H7379) 'dispute, strife, contention'; plural 'strivings'. LXX ἐκ μάχης λαῶν.
עַמִּ֑יmy peopleN m sg constr + 1cs suffix · עַם (H5971)Genitive of constructעַם (H5971) 'people'; 'strife of my people' = internal Israelite conflict (Saul's house, Absalom, Sheba). Ps 18:44 reads עָם 'the people' (i.e., peoples), LXX λαῶν.
תִּשְׁמְרֵ֨נִי֙you kept meQal impf 2ms + 1cs suffix · שָׁמַר (H8104)Predicate verb (asyndetic parallel)→ Yiqtol in poetic past narration: preservationשָׁמַר (H8104) 'to keep, preserve'. Ps 18:44 reads תְּשִׂימֵנִי 'you made me'; LXX φυλάξεις με supports Samuel.
לְרֹ֣אשׁas head ofprep לְ + N m sg constr · רֹאשׁ (H7218)Prepositional phrase of role/destination ('for head')רֹאשׁ (H7218) 'head, chief'; the king as overlord of subject nations (cf. ch. 8; Deut 28:13).
גּוֹיִ֔םnationsN m pl abs · גּוֹי (H1471)Genitive of constructגּוֹי (H1471) 'nation'; foreign peoples.
עַ֥םa peopleN m sg abs · עַם (H5971)Subject (fronted) of יַעַבְדֻנִי, head of an asyndetic relative clauseעַם (H5971) 'people'.
לֹאnotnegative particle · לֹא (H3808)Negation in the relative clauseלֹא (H3808) 'not'.
יָדַ֖עְתִּיI had knownQal perf 1cs · יָדַע (H3045)Predicate of the asyndetic relative clause ('[whom] I had not known')→ Perfective: prior state of unacquaintanceיָדַע (H3045) 'to know'; distant, previously unknown peoples (cf. Isa 55:5).
יַעַבְדֻֽנִיserve meQal impf 3mp + 1cs suffix · עָבַד (H5647)Predicate verb→ Yiqtol: ongoing vassal serviceעָבַד (H5647) 'to serve'; political submission and tribute (8:2, 6, 14).
45

בְּנֵ֥י נֵכָ֖ר יִתְכַּֽחֲשׁוּ לִ֑י לִשְׁמ֥וֹעַ אֹ֖זֶן יִשָּׁ֥מְעוּ לִֽי

Foreigners come cringing to me; at the mere hearing of the ear they obey me.

Dominion — submission of foreignersasyndeton
יִתְכַּחֲשׁוּ ('feign, cringe') depicts forced, perhaps insincere, submission of vassals; the colon order is reversed from Ps 18:45.
Word-by-word analysis· 8 words
בְּנֵ֥יsons ofN m pl constr · בֵּן (H1121)Subject, construct headבֵּן (H1121) 'son'; בְּנֵי נֵכָר 'sons of foreignness' = foreigners.
נֵכָ֖רforeignnessN m sg abs · נֵכָר (H5236)Genitive of construct (attributive)נֵכָר (H5236) 'foreign land, foreignness'.
יִתְכַּֽחֲשׁוּcome cringingHitpael impf 3mp · כָּחַשׁ (H3584)Predicate verb→ Yiqtol: ongoing/characteristic submissionכָּחַשׁ (H3584) 'to deceive, deny; feign'; of vassals: to cringe, feign submission, fawn (Deut 33:29; Ps 66:3). LXX ἐψεύσαντό μοι 'lied to me'. Ps 18:45 has Piel יְכַחֲשׁוּ, in the second colon.
לִ֑יto meprep לְ + 1cs suffix · לְIndirect objectלִי 'to me'.
לִשְׁמ֥וֹעַat the hearing ofprep לְ + Qal inf constr · שָׁמַע (H8085)Temporal infinitival phrase ('at hearing')→ Infinitive: temporal — as soon as they hearשָׁמַע (H8085) 'to hear'; Ps 18:45 reads the noun לְשֵׁמַע 'at the report of'.
אֹ֖זֶןthe earN f sg abs · אֹזֶן (H241)Subject/accusative of the infinitive ('at an ear's hearing')אֹזֶן (H241) 'ear'; 'at the mere hearing of the ear' = at first report (Job 42:5).
יִשָּׁ֥מְעוּthey obeyNiphal impf 3mp · שָׁמַע (H8085)Predicate verb→ Yiqtol: characteristic obedienceשָׁמַע (H8085) Niphal 'to be obedient, show oneself obedient' (here with לְ); wordplay with לִשְׁמוֹעַ.
לִֽיto meprep לְ + 1cs suffix · לְPrepositional object of obedienceלִי 'to me'.
46

בְּנֵ֥י נֵכָ֖ר יִבֹּ֑לוּ וְיַחְגְּר֖וּ מִמִּסְגְּרוֹתָֽם

Foreigners wither away; they come limping out of their strongholds.

Dominion — collapse of foreign resistanceasyndeton
Wilting like plants, the foreigners emerge from their fortifications in surrender. Samuel's וְיַחְגְּרוּ (from חגר, 'gird' or 'limp') is a metathesis of Ps 18:46 וְיַחְרְגוּ 'come trembling'.
Word-by-word analysis· 5 words
בְּנֵ֥יsons ofN m pl constr · בֵּן (H1121)Subject, construct headבֵּן (H1121); anaphoric repetition of v.45's opening.
נֵכָ֖רforeignnessN m sg abs · נֵכָר (H5236)Genitive of constructנֵכָר (H5236) 'foreignness'.
יִבֹּ֑לוּwither awayQal impf 3mp · נָבֵל (H5034)Predicate verb→ Yiqtol: ongoing collapseנָבֵל (H5034) 'to wither, fade' (of leaves and flowers, Isa 40:7); loss of courage.
וְיַחְגְּר֖וּand they come limpingconj וְ + Qal impf 3mp · חָגַר (H2296)Predicate verb (coordinate)→ Yiqtol: characteristic surrenderחָגַר (H2296) usually 'to gird'; here perhaps 'gird themselves (to come out)' or, by an Aramaic-type sense, 'limp'. Ps 18:46 reads וְיַחְרְגוּ 'and come trembling' (חָרַג, hapax) — a metathesis of ג and ר. LXX σφαλοῦσιν 'they will stumble'.
מִמִּסְגְּרוֹתָֽםout of their strongholdsprep מִן + N f pl constr + 3mp suffix · מִסְגֶּרֶת (H4526)Prepositional phrase of sourceמִסְגֶּרֶת (H4526) 'enclosure, fortification', from סָגַר 'shut'; they emerge from their fortresses in surrender (Mic 7:17).
47

חַי יְהוָ֖ה וּבָר֣וּךְ צוּרִ֑י וְיָרֻ֕ם אֱלֹהֵ֖י צ֥וּר יִשְׁעִֽי

YHWH lives! And blessed be my rock, and exalted be the God of the rock of my salvation —

Doxology (strophe opening)asyndeton
The oath-formula 'YHWH lives' becomes an acclamation, followed by a jussive blessing and exaltation. The rock epithet closes the ring with vv.2-3; Ps 18:47 reads 'the God of my salvation'.
Word-by-word analysis· 8 words
חַיlivesAdj m sg abs · חַי (H2416)Predicate adjective of a verbless acclamation (fronted)חַי (H2416) 'living, alive'; the oath-formula חַי יְהוָה ('as YHWH lives') here becomes a hymnic acclamation of the living God, in contrast to lifeless idols.
יְהוָ֖הYHWHN proper (divine name) · יְהוָה (H3068)Subjectיְהוָה (H3068).
וּבָר֣וּךְand blessed beconj וְ + Qal passive ptc m sg abs · בָּרַךְ (H1288)Predicate participle (verbless benediction)→ Passive participle: doxological declaration/wishבָּרַךְ (H1288) 'to bless'; בָּרוּךְ the standard doxology formula (1 Sam 25:32).
צוּרִ֑יmy rockN m sg constr + 1cs suffix · צוּר (H6697)Subject of the benedictionצוּר (H6697) 'rock'; returns to the opening epithets (vv.2-3); LXX ὁ φύλαξ μου.
וְיָרֻ֕םand exalted beconj וְ + Qal jussive 3ms · רוּם (H7311)Predicate verb (volitional)→ Jussive: doxological wish — 'may he be exalted'רוּם (H7311) 'to be high, exalted'; the jussive answers the 'haughty' (רָמִים) brought low in v.28.
אֱלֹהֵ֖יthe God ofN m pl constr · אֱלֹהִים (H430)Subject, construct headאֱלֹהִים (H430); construct as in v.3.
צ֥וּרthe rock ofN m sg constr · צוּר (H6697)Genitive of construct, itself constructצוּר (H6697) 'rock'. Ps 18:47 reads וְיָרוּם אֱלוֹהֵי יִשְׁעִי 'exalted be the God of my salvation' without צוּר.
יִשְׁעִֽיmy salvationN m sg constr + 1cs suffix · יֶשַׁע (H3468)Genitive of constructיֶשַׁע (H3468) 'salvation'; echoes v.3 'horn of my salvation'.
48

הָאֵ֕ל הַנֹּתֵ֥ן נְקָמֹ֖ת לִ֑י וּמוֹרִ֥יד עַמִּ֖ים תַּחְתֵּֽנִי

the God who gives vengeance for me and brings down peoples beneath me,

Doxology — attributive participles (God as avenger)asyndeton
A string of participles expands the doxology; נְקָמֹת is legitimate retributive justice executed by God on the king's behalf. Samuel's וּמוֹרִיד 'brings down' differs from Ps 18:48 וַיַּדְבֵּר 'subdued'.
Word-by-word analysis· 7 words
הָאֵ֕לthe Godart + N m sg abs · אֵל (H410)Apposition to 'the God of the rock of my salvation' (v.47)אֵל (H410); third הָאֵל clause (cf. vv.31, 33); LXX ἰσχυρὸς κύριος.
הַנֹּתֵ֥ןwho givesart + Qal ptc m sg abs · נָתַן (H5414)Attributive participle modifying הָאֵל→ Participle: characteristic divine actionנָתַן (H5414) 'to give'.
נְקָמֹ֖תvengeanceN f pl abs · נְקָמָה (H5360)Direct object of the participleנְקָמָה (H5360) 'vengeance, retribution'; plural of intensity. Legitimate redress executed by God, not personal vendetta (cf. David leaving vengeance to YHWH, 1 Sam 24:13).
לִ֑יfor meprep לְ + 1cs suffix · לְDative of advantageלִי 'for me'.
וּמוֹרִ֥ידand brings downconj וְ + Hiphil ptc m sg abs · יָרַד (H3381)Attributive participle (coordinate)→ Participle: characteristic divine actionיָרַד (H3381) Hiphil 'to bring down'; cf. Hannah's song 'he brings down to Sheol' (1 Sam 2:6). Ps 18:48 reads וַיַּדְבֵּר 'and subdued'; LXX παιδεύων 'disciplining'.
עַמִּ֖יםpeoplesN m pl abs · עַם (H5971)Direct objectעַם (H5971) 'people'; foreign peoples subjected.
תַּחְתֵּֽנִיbeneath meprep + 1cs suffix · תַּחַת (H8478)Locative prepositional phraseתַּחַת (H8478) 'under'.
49

וּמוֹצִיאִ֖י מֵאֹֽיְבָ֑י וּמִקָּמַי֙ תְּר֣וֹמְמֵ֔נִי מֵאִ֥ישׁ חֲמָסִ֖ים תַּצִּילֵֽנִי

who brings me out from my enemies; above those who rise against me you exalt me; from the man of violence you rescue me.

Doxology — God as rescuer and exalterwə
The participle slides into second-person yiqtols, fusing praise-report with address. 'Man of violences' echoes v.3's 'from violence you save me', framing the whole song.
Word-by-word analysis· 7 words
וּמוֹצִיאִ֖יand who brings me outconj וְ + Hiphil ptc m sg constr + 1cs suffix · יָצָא (H3318)Attributive participle (coordinate) describing God→ Participle: characteristic divine actionיָצָא (H3318) Hiphil 'to bring out'; echoes v.20 וַיֹּצֵא. Ps 18:49 reads מְפַלְּטִי 'who delivers me'; LXX ἐξάγων με supports Samuel.
מֵאֹֽיְבָ֑יfrom my enemiesprep מִן + Qal ptc m pl constr (substantival) + 1cs suffix · אָיַב (H341)Prepositional phrase of separation→ Participle (substantival): enemiesאָיַב (H341) 'to be hostile'.
וּמִקָּמַי֙and above those who rise against meconj וְ + prep מִן + Qal ptc m pl constr (substantival) + 1cs suffix · קוּם (H6965)Comparative/separative prepositional phrase (fronted)→ Participle (substantival): assailantsקוּם (H6965) 'to rise'; מִן here 'above, beyond' — exalted over his assailants (v.40).
תְּר֣וֹמְמֵ֔נִיyou exalt mePolel impf 2ms + 1cs suffix · רוּם (H7311)Predicate verb (shift to direct address)→ Yiqtol: characteristic/ongoing exaltationרוּם (H7311) Polel 'to lift up, exalt'; Hannah's 'he exalts the horn of his anointed' (1 Sam 2:10).
מֵאִ֥ישׁfrom the man ofprep מִן + N m sg constr · אִישׁ (H376)Prepositional phrase of separation, construct headאִישׁ (H376) 'man'.
חֲמָסִ֖יםviolenceN m pl abs · חָמָס (H2555)Genitive of construct (attributive: 'violent man')חָמָס (H2555) 'violence'; plural of intensity (Ps 18:49 singular חָמָס). Inclusio with v.3 'from violence you save me'; perhaps Saul in view (v.1).
תַּצִּילֵֽנִיyou rescue meHiphil impf 2ms + 1cs suffix · נָצַל (H5337)Predicate verb→ Yiqtol: characteristic deliveranceנָצַל (H5337) Hiphil 'to deliver'; the superscription's verb (v.1) closes the narrative portion of the song.
50

עַל כֵּ֛ן אוֹדְךָ֥ יְהוָ֖ה בַּגּוֹיִ֑ם וּלְשִׁמְךָ֖ אֲזַמֵּֽר

Therefore I will praise you, YHWH, among the nations, and to your name I will sing.

Vow of praiseʿal-kēn (inferential)
The conclusion draws the song's consequence: public thanksgiving (תּוֹדָה) before the very nations now subject to the king. Paul cites the Psalm form in Rom 15:9 as scriptural warrant for Gentile praise.
Word-by-word analysis· 7 words
עַלthereforeprep · עַל (H5921)First element of the inferential compound עַל כֵּןעַל (H5921) 'upon'; עַל כֵּן 'on that basis, therefore'.
כֵּ֛ן[therefore]adverb · כֵּן (H3651)Second element of the inferential compoundכֵּן (H3651) 'so, thus'; with עַל, draws the conclusion from the whole song.
אוֹדְךָ֥I will praise youHiphil impf 1cs + 2ms suffix · יָדָה (H3034)Predicate verb (main clause)→ Yiqtol: resolve/vow — future public thanksgivingיָדָה (H3034) Hiphil 'to acknowledge, give thanks, praise'; the verb of the תּוֹדָה (thanksgiving) — this song is its fulfillment.
יְהוָ֖הO YHWHN proper (divine name) · יְהוָה (H3068)Vocativeיְהוָה (H3068).
בַּגּוֹיִ֑םamong the nationsprep בְּ + art + N m pl abs · גּוֹי (H1471)Locative prepositional phraseגּוֹי (H1471) 'nation'; praise before the subject peoples of vv.44-46. Paul cites the Psalm form (Ps 18:50 = LXX ἐν ἔθνεσιν) in Rom 15:9 for Gentile inclusion.
וּלְשִׁמְךָ֖and to your nameconj וְ + prep לְ + N m sg constr + 2ms suffix · שֵׁם (H8034)Prepositional phrase (fronted indirect object)שֵׁם (H8034) 'name'; the revealed character and reputation of YHWH.
אֲזַמֵּֽרI will singPiel impf 1cs · זָמַר (H2167)Predicate verb (parallel colon)→ Yiqtol: resolve/vowזָמַר (H2167) Piel 'to sing, make music (with instruments)'; cf. מִזְמוֹר 'psalm' and David as 'the sweet psalmist of Israel' (23:1).
51

מגדיל מִגְדּ֖וֹל יְשׁוּע֣וֹת מַלְכּ֑וֹ וְעֹֽשֶׂה חֶ֧סֶד לִמְשִׁיח֛וֹ לְדָוִ֥ד וּלְזַרְע֖וֹ עַד עוֹלָֽם

He is a tower of salvation for his king, and shows steadfast love to his anointed, to David and to his offspring forever.

Royal-dynastic conclusionasyndeton
The last line shifts to third person, naming 'his king' and 'his anointed' as Hannah's song did (1 Sam 2:10), and grounds all in חֶסֶד to David's seed forever — the promise of 7:12-16. The Kethiv מגדיל 'he magnifies (the salvations of)' matches Ps 18:51 and LXX μεγαλύνων; the Qere מִגְדּוֹל yields 'tower'.
Word-by-word analysis· 11 words
מגדילhe magnifiesHiphil ptc m sg constr (ketiv) · גָּדַל (H1431)Predicate participle (ketiv reading: 'who magnifies the salvations of his king')→ Participle: characteristic, ongoing divine actionגָּדַל (H1431) Hiphil 'to make great'; the ketiv, read מַגְדִּיל, agrees with Ps 18:51 (מַגְדִּל) and the LXX μεγαλύνων, and suits the parallel participle וְעֹשֶׂה.
מִגְדּ֖וֹלa tower ofN m sg constr (qere) · מִגְדּוֹל (H4024)Predicate nominative (qere reading: '[he is] a tower of salvations')מִגְדּוֹל (H4024) 'tower', a variant of מִגְדָּל; the qere continues the fortress epithets of vv.2-3 (cf. Prov 18:10 'the name of YHWH is a strong tower'). The two readings differ only by vocalization and yod/waw.
יְשׁוּע֣וֹתsalvationN f pl constr · יְשׁוּעָה (H3444)Genitive of construct (or object of the ketiv participle)יְשׁוּעָה (H3444) 'salvation, victory'; plural of amplitude, 'great victories'.
מַלְכּ֑וֹfor his kingN m sg constr + 3ms suffix · מֶלֶךְ (H4428)Genitive of construct ('the salvations of his king')מֶלֶךְ (H4428) 'king'; 'his king' echoes the close of Hannah's song (1 Sam 2:10 'he will give strength to his king'), framing the books of Samuel.
וְעֹֽשֶׂהand showsconj וְ + Qal ptc m sg abs · עָשָׂה (H6213)Predicate participle (coordinate)→ Participle: continuous, ongoing actionעָשָׂה (H6213) 'to do, make'; עָשָׂה חֶסֶד 'show steadfast love'.
חֶ֧סֶדsteadfast loveN m sg abs · חֶסֶד (H2617)Direct objectחֶסֶד (H2617) 'covenant loyalty, steadfast love'; the חֶסֶד promised never to depart from David's seed (7:15).
לִמְשִׁיח֛וֹto his anointedprep לְ + N m sg constr + 3ms suffix · מָשִׁיחַ (H4899)Indirect object (recipient)מָשִׁיחַ (H4899) 'anointed one', the king consecrated by anointing (1 Sam 16:13); with Hannah's 'his anointed' (1 Sam 2:10) it forms the inclusio of the Samuel corpus and seeds later messianic hope.
לְדָוִ֥דto Davidprep לְ + N proper · דָּוִד (H1732)Apposition to לִמְשִׁיחוֹדָּוִד (H1732); the only occurrence of the name within the poem, identifying the anointed king.
וּלְזַרְע֖וֹand to his offspringconj וְ + prep לְ + N m sg constr + 3ms suffix · זֶרַע (H2233)Coordinated indirect objectזֶרַע (H2233) 'seed, offspring'; the dynastic 'seed' of 7:12 ('I will raise up your offspring after you').
עַדuntoprep · עַד (H5704)Temporal prepositionעַד (H5704) 'until, unto'.
עוֹלָֽםforeverN m sg abs · עוֹלָם (H5769)Object of the preposition (temporal: 'forever')עוֹלָם (H5769) 'long duration, perpetuity'; עַד עוֹלָם repeats the eternal-dynasty promise of 7:13, 16.