Voluntary self-punishment inflicted as an outward expression of repentance for having done wrong.