2 Corinthians 7:10-11
7:10 For sadness as intended by God produces a repentance that leads to salvation, leaving no regret, but worldly sadness brings about death.
7:11 For see what this very thing, this sadness as God intended, has produced in you: what eagerness, what defense of yourselves, what indignation, what alarm, what longing, what deep concern, what punishment! In everything you have proved yourselves to be innocent in this matter.