David sang to the LORD the words of this song when the LORD delivered him from the hand of all his enemies and from the hand of Saul.
He said: "The LORD is my rock, my fortress and my deliverer;
my God is my rock, in whom I take refuge, my shield and the horn of my salvation. He is my stronghold, my refuge and my savior-- from violent men you save me.
I call to the LORD, who is worthy of praise, and I am saved from my enemies.
"The waves of death swirled about me; the torrents of destruction overwhelmed me.
The cords of the grave coiled around me; the snares of death confronted me.
In my distress I called to the LORD; I called out to my God. From his temple he heard my voice; my cry came to his ears.
"The earth trembled and quaked, the foundations of the heavens shook; they trembled because he was angry.
Smoke rose from his nostrils; consuming fire came from his mouth, burning coals blazed out of it.
He parted the heavens and came down; dark clouds were under his feet.
He mounted the cherubim and flew; he soared on the wings of the wind.
He made darkness his canopy around him-- the dark rain clouds of the sky.
Out of the brightness of his presence bolts of lightning blazed forth.
The LORD thundered from heaven; the voice of the Most High resounded.
He shot arrows and scattered [the enemies], bolts of lightning and routed them.
The valleys of the sea were exposed and the foundations of the earth laid bare at the rebuke of the LORD, at the blast of breath from his nostrils.
"He reached down from on high and took hold of me; he drew me out of deep waters.
He rescued me from my powerful enemy, from my foes, who were too strong for me.
They confronted me in the day of my disaster, but the LORD was my support.
He brought me out into a spacious place; he rescued me because he delighted in me.
"The LORD has dealt with me according to my righteousness; according to the cleanness of my hands he has rewarded me.
For I have kept the ways of the LORD; I have not done evil by turning from my God.
All his laws are before me; I have not turned away from his decrees.
I have been blameless before him and have kept myself from sin.
The LORD has rewarded me according to my righteousness, according to my cleanness in his sight.
"To the faithful you show yourself faithful, to the blameless you show yourself blameless,
to the pure you show yourself pure, but to the crooked you show yourself shrewd.
You save the humble, but your eyes are on the haughty to bring them low.
You are my lamp, O LORD; the LORD turns my darkness into light.
With your help I can advance against a troop; with my God I can scale a wall.
"As for God, his way is perfect; the word of the LORD is flawless. He is a shield for all who take refuge in him.
For who is God besides the LORD? And who is the Rock except our God?
It is God who arms me with strength and makes my way perfect.
He makes my feet like the feet of a deer; he enables me to stand on the heights.
He trains my hands for battle; my arms can bend a bow of bronze.
You give me your shield of victory; you stoop down to make me great.
You broaden the path beneath me, so that my ankles do not turn.
"I pursued my enemies and crushed them; I did not turn back till they were destroyed.
I crushed them completely, and they could not rise; they fell beneath my feet.
You armed me with strength for battle; you made my adversaries bow at my feet.
You made my enemies turn their backs in flight, and I destroyed my foes.
They cried for help, but there was no one to save them-- to the LORD, but he did not answer.
I beat them as fine as the dust of the earth; I pounded and trampled them like mud in the streets.
"You have delivered me from the attacks of my people; you have preserved me as the head of nations. People I did not know are subject to me,
and foreigners come cringing to me; as soon as they hear me, they obey me.
They all lose heart; they come trembling from their strongholds.
"The LORD lives! Praise be to my Rock! Exalted be God, the Rock, my Savior!
He is the God who avenges me, who puts the nations under me,
who sets me free from my enemies. You exalted me above my foes; from violent men you rescued me.
Therefore I will praise you, O LORD, among the nations; I will sing praises to your name.
He gives his king great victories; he shows unfailing kindness to his anointed, to David and his descendants forever."
These are the last words of David: "The oracle of David son of Jesse, the oracle of the man exalted by the Most High, the man anointed by the God of Jacob, Israel's singer of songs:
"The Spirit of the LORD spoke through me; his word was on my tongue.
The God of Israel spoke, the Rock of Israel said to me: 'When one rules over men in righteousness, when he rules in the fear of God,
he is like the light of morning at sunrise on a cloudless morning, like the brightness after rain that brings the grass from the earth.'
"Is not my house right with God? Has he not made with me an everlasting covenant, arranged and secured in every part? Will he not bring to fruition my salvation and grant me my every desire?
But evil men are all to be cast aside like thorns, which are not gathered with the hand.
Whoever touches thorns uses a tool of iron or the shaft of a spear; they are burned up where they lie."
These are the names of David's mighty men: Josheb-Basshebeth, a Tahkemonite, was chief of the Three; he raised his spear against eight hundred men, whom he killed in one encounter.
Next to him was Eleazar son of Dodai the Ahohite. As one of the three mighty men, he was with David when they taunted the Philistines gathered [at Pas Dammim] for battle. Then the men of Israel retreated,
but he stood his ground and struck down the Philistines till his hand grew tired and froze to the sword. The LORD brought about a great victory that day. The troops returned to Eleazar, but only to strip the dead.
Next to him was Shammah son of Agee the Hararite. When the Philistines banded together at a place where there was a field full of lentils, Israel's troops fled from them.
But Shammah took his stand in the middle of the field. He defended it and struck the Philistines down, and the LORD brought about a great victory.
During harvest time, three of the thirty chief men came down to David at the cave of Adullam, while a band of Philistines was encamped in the Valley of Rephaim.
At that time David was in the stronghold, and the Philistine garrison was at Bethlehem.
David longed for water and said, "Oh, that someone would get me a drink of water from the well near the gate of Bethlehem!"
So the three mighty men broke through the Philistine lines, drew water from the well near the gate of Bethlehem and carried it back to David. But he refused to drink it; instead, he poured it out before the LORD.
"Far be it from me, O LORD, to do this!" he said. "Is it not the blood of men who went at the risk of their lives?" And David would not drink it. Such were the exploits of the three mighty men.
Abishai the brother of Joab son of Zeruiah was chief of the Three. He raised his spear against three hundred men, whom he killed, and so he became as famous as the Three.
Was he not held in greater honor than the Three? He became their commander, even though he was not included among them.
Benaiah son of Jehoiada was a valiant fighter from Kabzeel, who performed great exploits. He struck down two of Moab's best men. He also went down into a pit on a snowy day and killed a lion.
And he struck down a huge Egyptian. Although the Egyptian had a spear in his hand, Benaiah went against him with a club. He snatched the spear from the Egyptian's hand and killed him with his own spear.
Such were the exploits of Benaiah son of Jehoiada; he too was as famous as the three mighty men.
He was held in greater honor than any of the Thirty, but he was not included among the Three. And David put him in charge of his bodyguard.
Among the Thirty were: Asahel the brother of Joab, Elhanan son of Dodo from Bethlehem,
Shammah the Harodite, Elika the Harodite,
Helez the Paltite, Ira son of Ikkesh from Tekoa,
Abiezer from Anathoth, Mebunnai the Hushathite,
Zalmon the Ahohite, Maharai the Netophathite,
Heled son of Baanah the Netophathite, Ithai son of Ribai from Gibeah in Benjamin,
Benaiah the Pirathonite, Hiddai from the ravines of Gaash,
Abi-Albon the Arbathite, Azmaveth the Barhumite,
Eliahba the Shaalbonite, the sons of Jashen, Jonathan
son of Shammah the Hararite, Ahiam son of Sharar the Hararite,
Eliphelet son of Ahasbai the Maacathite, Eliam son of Ahithophel the Gilonite,
Hezro the Carmelite, Paarai the Arbite,
Igal son of Nathan from Zobah, the son of Hagri,
Zelek the Ammonite, Naharai the Beerothite, the armor-bearer of Joab son of Zeruiah,
Ira the Ithrite, Gareb the Ithrite
and Uriah the Hittite. There were thirty-seven in all.
Have mercy on me, O God, have mercy on me, for in you my soul takes refuge. I will take refuge in the shadow of your wings until the disaster has passed.
I cry out to God Most High, to God, who fulfills [his purpose] for me.
He sends from heaven and saves me, rebuking those who hotly pursue me; "Selah" God sends his love and his faithfulness.
I am in the midst of lions; I lie among ravenous beasts-- men whose teeth are spears and arrows, whose tongues are sharp swords.
Be exalted, O God, above the heavens; let your glory be over all the earth.
They spread a net for my feet-- I was bowed down in distress. They dug a pit in my path-- but they have fallen into it themselves. "Selah"
My heart is steadfast, O God, my heart is steadfast; I will sing and make music.
Awake, my soul! Awake, harp and lyre! I will awaken the dawn.
I will praise you, O Lord, among the nations; I will sing of you among the peoples.
For great is your love, reaching to the heavens; your faithfulness reaches to the skies.
Be exalted, O God, above the heavens; let your glory be over all the earth.