2 Cor. 7:9-10
9 Now I rejoice, not that you were made sorry, but that your sorrow led to repentance. For you were made sorry in a godly manner, that you might suffer loss from us in nothing. 10 For godly sorrow produces repentance leading to salvation, not to be regretted; but the sorrow of the world produces death.