no..hoist by his own petard. A petard isn't a sword. Fair enough, but then what the heck am I thinking of?
I'll swear to the fact that this was what we were taught in (of course) public school.
perhaps you are mixing metaphors.. " Fall upon your sword" and " Hoist by your own petard"