Hoist with his own petard
"Hoist with his own petard" is a phrase from William Shakespeare's play Hamlet that has entered proverbial use in English. Literally, the phrase means a bomb-maker was blown off the ground (hoist) by his own bomb (petard).
Source: Wikipedia — Hoist with his own petard (CC BY-SA 4.0)