Whether confession delivers from punishment in some way?

Objections

Objection 1 : It would seem that confession nowise delivers from punishment. For sin deserves no punishment but what is either eternal or temporal. Now eternal punishment is remitted by contrition, and temporal punishment by satisfaction. Therefore nothing of the punishment is remitted by confession.
Objection 2 : Further, "the will is taken for the deed" [*Cf. Can. Magna Pietas, De Poenit., Dist. i], as stated in the text (Sent. iv, D, 17). Now he that is contrite has the intention to confess. wherefore his intention avails him as though he had already confessed, and so the confession which he makes afterwards remits no part of the punishment.