Jewish Publication Society of America Version (JPS1917) - Psalms 51:4 >

(51-6) Against Thee, Thee only, have I sinned, and done that which is evil in Thy sight; that Thou mayest be justified when Thou speakest, and be in the right when Thou judgest.

King James Version (KJV) - Psalms 51:4 >

Against thee, thee only, have I sinned, and done [this] evil in thy sight: that thou mightest be justified when thou speakest, [and] be clear when thou judgest.

Berean Study Bible (BSB) - Psalms 51:4 >

Against You, You only, have I sinned and done what is evil in Your sight, so that You may be proved right when You speak and blameless when You judge.