fight fire with fire
fight fire with fire {v. phr.}, {slightly formal}, {of Biblical origin}
To fight back in the same way one was attacked; make a defense similar to the attack.
The candidate was determined to fight fire with fire in the debate.
Categories:
Source: A Dictionary of American Idioms