proverb

Confession is the first step to repentance.

repentance

supposes that

You have realized your mistakes when you confess, so you are on the right path of repentance.