Well, Sarah, I might have been a little more impressed with your erudition if you hadn’t misquoted that Kipling line.
Oh, and the Shakespearean phrase is “hoist with his own petard”, not “hoisted with their own petard”.