penitence vs self-punishment

penitence

noun
  • The condition of being penitent; a feeling of regret or remorse for doing wrong or sinning. 

self-punishment

noun
  • The act of punishing oneself. 

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