ruefulness vs self-flagellation

ruefulness

noun
  • The property of being rueful. 

self-flagellation

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

  • Intense feelings of guilt. 

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