What’s the difference

Is cheating and keeping it a secret forever different from cheating and confessing? In my opinion if you confess they MIGHT actually be sorry. Where as if they keep it a secret they don’t care at all. Opinions??