be hoist by your own petard害人反害己;自食其果
For 'tis the sport to have the engineer hoist with his own petard.