apologize vs take one’s medicine

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 

take one’s medicine

How often have the words apologize and take one’s medicine occurred in a corpus of books? (source: Google Ngram Viewer )