ESV: He said to David, "You are more righteous than I, for you have repaid me good, whereas I have repaid you evil.
NIV: "You are more righteous than I," he said. "You have treated me well, but I have treated you badly.
NASB: And he said to David, 'You are more righteous than I; for you have dealt well with me, while I have dealt maliciously with you.
CSB: and said to David, "You are more righteous than I, for you have done what is good to me though I have done what is evil to you.
NLT: And he said to David, 'You are a better man than I am, for you have repaid me good for evil.
KJV: And he said to David, Thou art more righteous than I: for thou hast rewarded me good, whereas I have rewarded thee evil.
NKJV: Then he said to David: “You are more righteous than I; for you have rewarded me with good, whereas I have rewarded you with evil.