2 Samuel 22:24 in the World English Bible
I was also perfect toward him. I kept myself from my iniquity.
Context
23 For all his judgments were before me: and as for his statutes, I did not depart from them.
24 I was also upright before him, and have kept myself from mine iniquity.
25 Therefore the LORD hath recompensed me according to my righteousness; according to my cleanness in his eye sight.