2 Corinthians 7:9

now I am glad: not because you were sorrowful, but because you were sorrowful unto repentance. For you became sorrowful for God, so that you might not suffer any harm from us

Other versions

King James Version

Now I rejoice, not that ye were made sorry, but that ye sorrowed to repentance: for ye were made sorry after a godly manner, that ye might receive damage by us in nothing.

English Standard Version

As it is, I rejoice, not because you were grieved, but because you were grieved into repenting. For you felt a godly grief, so that you suffered no loss through us.

New International Version

yet now I am happy, not because you were made sorry, but because your sorrow led you to repentance. For you became sorrowful as God intended and so were not harmed in any way by us.