Psalm 18:16-24
He sent from above, he took me, he drew me out of many waters.
He delivered me from my strong enemy, and from them which hated me: for they were too strong for me.
They prevented me in the day of my calamity: but the Lord was my stay.
He brought me forth also into a large place; he delivered me, because he delighted in me.
The Lord rewarded me according to my righteousness; according to the cleanness of my hands hath he recompensed me.
For I have kept the ways of the Lord, and have not wickedly departed from my God.
For all his judgments were before me, and I did not put away his statutes from me.
I was also upright before him, and I kept myself from mine iniquity.
Therefore hath the Lord recompensed me according to my righteousness, according to the cleanness of my hands in his eyesight.