idiom
a taste of your own medicine
体验你曾经给别人带来的不愉快
Meaning
to experience the same unpleasantness you caused to others
Example
He was rude to everyone, but now he’s getting **a taste of his own medicine**.
他曾经对每个人都很粗鲁,但现在他正在体验**他自己的药**。