give someone a dose of their own medicine vs retaliate

give someone a dose of their own medicine

retaliate

verb
  • To do something harmful or negative to get revenge for some harm; to fight back or respond in kind to an injury or affront. 

  • To repay or requite by an act of the same kind. 

How often have the words give someone a dose of their own medicine and retaliate occurred in a corpus of books? (source: Google Ngram Viewer )