This is the mourning over sin, and godly sorrow that leads to repentance. The comfort is the forgiveness and salvation.