Akademik

give someone a taste of their own medicine
give someone a taste/dose/of their own medicine phrase
to treat someone in the same bad way that they have treated someone else

It’s time those cheats got a taste of their own medicine.

Thesaurus: to treat someone in the same bad way they treat yousynonym
Main entry: medicine

Useful english dictionary. 2012.