a dose of your own medicine

a dose of (one's) own medicine

An experience of the same harmful or unpleasant thing that one has inflicted on others or an attack in the same manner in which one attacks others. John has gossiped about everyone in our group, so we gave him a dose of his own medicine by spreading rumors about him. The coup gave the dictatorship a dose of its own medicine, subjecting the dictator and his entourage to torture and confinement in deplorable conditions.
See also: dose, medicine, of, own

a dose (or taste) of your own medicine

the same bad treatment that you have given to others.
The idea of taking or receiving your own medicine has been in metaphorical use since the mid 19th century.
1994 Eoin McNamee Resurrection Man Every time you turn on the telly there's some politician talking the mouth off himself, dose of their own medicine's what they want.
See also: dose, medicine, of, own