2 Samuel 22:24

And I have been blameless before Him and kept myself from iniquity.
BSB · Berean Standard Bible
I was also upright before him, and have kept myself from mine iniquity.

Note before: Heb. to

KJV · King James Version
I was also perfect toward him. I kept myself from my iniquity.
WEB · World English Bible
I was also perfect toward him; And I kept myself from mine iniquity.
ASV · American Standard Version

Related passages

From the Treasury of Scripture Knowledge, grouped by the word they explain.

upright
Genesis 6:9; Genesis 17:1; Job 1:1; Psalm 51:6; Psalm 84:11; John 1:47; 2 Corinthians 5:11
before him
Heb. to him. kept.
Proverbs 4:23; Hebrews 12:1