Psalm 18:20-24 ESV
The LORD dealt with me according to my righteousness;
according to the cleanness of my hands he rewarded me.
For I have kept the ways of the LORD,
and have not wickedly departed from my God.
For all his rules were before me,
and his statutes I did not put away from me.
I was blameless before him,
and I kept myself from my guilt.
So the LORD has rewarded me according to my righteousness,
according to the cleanness of my hands in his sight.
ESV: English Standard Version 2016