give someone a dose of their own medicine vs retaliate against

give someone a dose of their own medicine

retaliate against

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