idiom
get a taste of your own medicine
যেমন কর্ম তেমন ফল
Meaning
to be treated in the same unpleasant way that you have treated others
Example
He's always rude to people, so I'm glad he finally **got a taste of his own medicine**.
সে সবসময় মানুষের সাথে অভদ্র আচরণ করে, তাই আমি খুশি যে সে অবশেষে যেমন কর্ম তেমন ফল পেয়েছে।