pay the piper vs swallow the pill

pay the piper

verb
  • To pay expenses for something, and thus be in a position to be in control. 

  • To pay a monetary or other debt or experience unfavorable consequences, especially when the payment or consequences are inevitable or a result of something one has enjoyed. 

swallow the pill

How often have the words pay the piper and swallow the pill occurred in a corpus of books? (source: Google Ngram Viewer )