Psalm 18:23

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

Note before: Heb. with

KJV · King James Version
I was also blameless with him. I kept myself from my iniquity.
WEB · World English Bible
I was also perfect with 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
Psalm 7:1; Psalm 11:7; Psalm 17:3; Psalm 37:27; 1 Samuel 26:23; 1 Chronicles 29:17
before
Heb. with. I kept.
Matthew 5:29, 30; Matthew 18:8, 9