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.

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.