Roman Catechism 19.14

Chapter 19 — Part II: The Sacraments — Penance

Section 14. Furthermore, no one can deny that it is a virtue to be sorrowful at the time, in the manner, and to the extent which are required. To regulate sorrow in this manner belongs to the virtue of penance. Some conceive a sorrow which bears no proportion to their crimes. Nay, there are some, says Solomon, who are glad when they have done evil. Others, on the contrary, give themselves to such melancholy and grief, as utterly to abandon all hope of salvation. Such, perhaps, was the condition of Cain when he exclaimed: My iniquity is greater than that I may deserve pardon. Such certainly was the condition of Judas, who, repenting, hanged himself, and thus lost soul and body. Penance, therefore, considered as a virtue, assists us in restraining within the bounds of moderation our sense of sorrow.