self-castigation vs self-punishment

self-castigation

self-punishment

noun
  • The act of punishing oneself. 

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