2 Corinthians 7:9-10
New International Version
9 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. 10 Godly sorrow brings repentance that leads to salvation(A) and leaves no regret, but worldly sorrow brings death.