Godly sorrow, also translated “godly grief,” is an acute sense of sadness we experience
as a result of the sins we have committed. ... Godly sorrow is a kind of wretchedness
that can bring the repentant sinner to tears of grief. ... Godly sorrow results from a
heart-felt conviction that we have offended God by our sin. Such a burning conviction
produces in our hearts a godly sorrow. As we look upon Him who was pierced for our
sins, we are deeply grieved in spirit. And we resolve within our hearts that we will, with
the help of God, “cease to do evil, and learn to do good” (Isaiah 1:16).
-See: What is godly sorrow? (GotQuestions)