Roman Catechism 19.84

Chapter 19 — Part II: The Sacraments — Penance

Section 84. Necessity Of Confession — Contrition, it is true, blots out sin; but who does not know that to effect this it must be so intense, so ardent, so vehement, as to bear a proportion to the magnitude of the crimes which it effaces? This is a degree of contrition which few reach; and hence, in this way, very few indeed could hope to obtain the pardon of their sins. It, therefore, became necessary that the most merciful Lord should provide by some easier means for the common salvation of men; and this He has done in His admirable wisdom, by giving to His Church the keys of the kingdom of heaven.