get a taste of your own medicine

Idiom Karma