Catechism of the Council of Trent
1018
Part II. Penance
Confession Instituted By Christ
In the next place, it is a duty of greatest moment that pastors should unhesitatingly teach that this Sacrament owes its institution to the singular goodness and mercy of our Lord Jesus Christ, who has ordered all things well, and solely with a view to our salvation.