self-castigation vs self-flagellation

self-castigation

self-flagellation

noun
  • The practice of whipping oneself as penance for sins. 

  • Intense feelings of guilt. 

How often have the words self-castigation and self-flagellation occurred in a corpus of books? (source: Google Ngram Viewer )