2 Corinthians 7:9-11

ISV(i) 9 Now I am happy, not because you had such sorrow, but because your sorrow led you to repent. For you were sorry in a godly way, and so you were not hurt by us in any way. 10 For having sorrow in a godly way results in repentance that leads to salvation and leaves no regrets. But the sorrow of the world produces death.
11 See what great earnestness godly sorrow has produced in you! How ready you are to clear yourselves, how indignant, how alarmed, how full of longing and enthusiasm, how eager to seek justice! In every way you have demonstrated that you are innocent in this matter.