apologize vs do penance

apologize

verb
  • To express regret that a certain event has occurred. 

  • To make an apology or excuse; to acknowledge some fault or offense, with expression of regret for it, by way of amends 

do penance

How often have the words apologize and do penance occurred in a corpus of books? (source: Google Ngram Viewer )