Thomas Aquinas,
Summa Theologiae — Question 7 - OF THE NATURE OF CONFESSION…
“ Now, although confession does not include everything that is required for virtue, yet its very name implies the manifestation of that which a man has on his conscience: for thus his lips and heart agree. For if a man professes with his lips what he does not hold in his heart, it is not a confession but a fiction. Now to express in words what one has in one's thoughts is a condition of virtue; and, consequently, confession is a good thing generically, and is an act of virtue: yet it can be done badly, if it be devoid of other due circumstances. ”
