eye for an eye
noun
°compensation for injury caused by a person, in the form of inflicting of an identical injury on that person.
synonyms: tit for tat