Self-punishment is an illusion of the mind in which one’s own suffering is mistakenly experienced as payment for what happened, creating a sense of restored control.