For godly grief produces a repentance that leads to salvation without regret, whereas worldly grief produces death.
2 Corinthians 7:10 ESV
I have said these things to you, that in me you may have peace. In the world you will have tribulation. But take heart; I have overcome the world.”
John 16:33 ESV