ESV: Yet you have been righteous in all that has come upon us, for you have dealt faithfully and we have acted wickedly.
NIV: In all that has happened to us, you have remained righteous; you have acted faithfully, while we acted wickedly.
NASB: However, You are righteous in everything that has happened to us; For You have dealt faithfully, but we have acted wickedly.
CSB: You are righteous concerning all that has happened to us, because you have acted faithfully, while we have acted wickedly.
NLT: Every time you punished us you were being just. We have sinned greatly, and you gave us only what we deserved.
KJV: Howbeit thou art just in all that is brought upon us; for thou hast done right, but we have done wickedly:
NKJV: However You are just in all that has befallen us; For You have dealt faithfully, But we have done wickedly.