Psalm 18:23 in the World English Bible
I was also blameless with him. I kept myself from my iniquity.
Context
22 For all his judgments were before me, and I did not put away his statutes from me.
23 I was also upright before him, and I kept myself from mine iniquity.
24 Therefore hath the LORD recompensed me according to my righteousness, according to the cleanness of my hands in his eyesight.