cost vs take one's medicine

cost

verb
  • To require to be borne or suffered; to cause. 

  • To cause something to be lost; to cause the expenditure or relinquishment of. 

  • To calculate or estimate a price. 

  • To incur a charge of; to require payment of a (specified) price. 

noun
  • Quality; condition; property; value; worth; a wont or habit; disposition; nature; kind; characteristic. 

  • A negative consequence or loss that occurs or is required to occur. 

  • Amount of money, time, etc. that is required or used. 

  • A cottise. 

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 cost and take one's medicine occurred in a corpus of books? (source: Google Ngram Viewer )