agonize vs take one's medicine

agonize

verb
  • To writhe with agony; to suffer violent anguish. 

  • To struggle; to wrestle; to strive desperately, whether mentally or physically. 

  • To cause agony or anguish in someone. 

take one's medicine

verb
  • To endure an unpleasant obligation, especially a punishment. 

  • Used other than figuratively or idiomatically: see take, medicine. 

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