‏ 2 Corinthians 7:9-10

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

10For bgodly grief produces a repentance that leads to salvation without regret, whereas cworldly grief produces death.
Copyright information for ESV