AN EYE FOR AN EYE

Meaning 1:

an eye for an eye - an eye for an eye, a tooth for a tooth; meaning that the punishment that someone receives should be the same size as the damage and harm they have caused (for example, if as a result of their attack someone lost their eye or tooth, then the attacker should also lose their eye or tooth), from the Christian Bible