Phrase situation in which you do something to harm someone who has done something harmful to you
The camel asked the fox, ‘Are you sorry you were so selfish and caused me to be beaten by the farmer?’ ‘Yes, yes!’ cried the fox. ‘And I am sorry I had to teach you a lesson --many times in life it is a case of tit for tat.'