flagellantism

noun
  1. the practice of self-inflicted whipping or beating as a form of religious penance or self-mortification
  2. Usage: historical; religious context
  3. excessive self-criticism or self-punishment, especially as a habitual or obsessive behavior
  4. Usage: figurative

Examples