warns that
admitting wrongdoing may expose a person to punishment rather than earn forgiveness; confession does not necessarily secure mercy.
Imagine a case where sometimes, an open confession is a big mistake.; then “Confess and be hanged” fits well.