Find the word definition

Wiktionary
hoist by one's own petard

a. (context idiomatic English) To be hurt or destroyed by one's own plot or device intended for another; to be "blown up by one's own bomb".