Roman Catechism 19.164

Chapter 19 — Part II: The Sacraments — Penance

Section 164. Nothing can be more effectual in uprooting all sin from the soul than these three kinds of satisfaction. For since whatever is in the world is the concupiscence of the flesh, the concupiscence of the eyes, and the pride of life, everyone can see that to these three causes of disease are opposed also three remedies. To the first is opposed fasting; to the second, almsdeeds; to the third, prayer.