Psalm 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.

Note LXX and victorious when You judge; cited in Romans 3:4

BSB · Berean Standard Bible
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.
KJV · King James Version
Against you, and you only, I have sinned, and done that which is evil in your sight, so you may be proved right when you speak, and justified when you judge.
WEB · World English Bible
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 clear when thou judgest.
ASV · American Standard Version

Related passages

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

Against
Genesis 9:6; Genesis 20:6; Genesis 39:9; Leviticus 5:19; Leviticus 6:2–7; 2 Samuel 12:9, 10, 13, 14; James 2:9, 11
evil
Genesis 38:7; 2 Kings 17:17; 2 Kings 21:6; Luke 15:21
that thou
Psalm 50:4, 6; Luke 7:29; Romans 3:4
when
Acts 17:31; Romans 2:5; Revelation 15:3, 4; Revelation 16:5; Revelation 19:11