Find the word definition

Wiktionary
two wrongs make a right

prov. (context logic ethics English) A logical fallacy whereby a wrongful action is justified by the commission of another.

Wikipedia
Two wrongs make a right

In rhetoric and ethics, two wrongs make a right and two wrongs don't make a right are phrases that denote philosophical norms. "Two wrongs make a right" is a fallacy of relevance, in which an allegation of wrongdoing is countered with a similar allegation. Its antithesis, "two wrongs don't make a right", is a proverb used to rebuke or renounce wrongful conduct as a response to another's transgression.