give someone their just deserts vs retaliate against

give someone their just deserts

retaliate against

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