Psalms 18:17-21

He delivered me from my strong enemy, From those who hated me, For they were too strong for me. They confronted me in the day of my calamity, But the Lord rewarded me according to my righteousness; According to the cleanness of my hands He has recompensed me. For I have kept the ways of the Lord, And have not wickedly departed from my God.