petard

petard /pəˈtɑɚd/ noun
petard
/pəˈtɑɚd/
noun
Britannica Dictionary definition of PETARD

hoist by/on/with your own petard

: hurt by something that you have done or planned yourself : harmed by your own trick or scheme