WordNet
self-flagellation
n. self-punishment inflicted by whipping
Wikipedia
Self-flagellation
Self-flagellation is the act of hitting oneself with a whip as part of a religious ritual.
Usage examples of "self-flagellation".
I exhumed the midwestern Protestant ethic my mother tried to outrun--and used it for self-flagellation.