Give (one) a taste of (one's) own medicine idiom verb phrase
The word "taste" could be replaced by the word "dose."
To treat someone badly in the same way they have treated you
A: "Josh is always making fun of people. I can't stand that guy anymore." B: "Don't worry! He will give himself a taste of his own medicine one day."
That spoiled brat isn't going to bully anyone anymore. Today I'll give him a taste of his own medicine.
If you keep on behaving like that toward others, you'll give yourself a taste of your own medicine.
He's going to get a taste of his own medicine if he doesn't change his behaviour.
He is always late and keeps people waiting for appointments, so we decided to give him a taste of his own medicine.
To want to avenge
To act in retaliation against someone; to punish someone
Get revenge.
If you revenge yourself up(on) someone/something, you cause harm to someone/something in return for something bad that they have done to you.
1. To pay or get money owed.
2. To retaliate against someone.
The verb "give" should be conjugated according to its tense.
The origin of this phrase is from one of the fables from Aesop's Fables, or the Aesopica. It's about a fraud who sells phony medicine and claims that it can treat anything. People offer him his own medicine when he becomes unwell, which he knows would not cure him.