But when it came before the king, he gave orders in writing that the evil scheme Haman had devised against the Jews should come back on his own head, and that he and his sons should be hanged on the pole.
In context
23So the Jews took upon themselves what they had begun to do, and what Mordecai had written to them. 24For Haman son of Hammedatha the Agagite, the enemy of all the Jews, had schemed against the Jews to wipe them out, and had cast Pur — that is, the lot — to throw them into panic and destroy them. 25But when it came before the king, he gave orders in writing that the evil scheme Haman had devised against the Jews should come back on his own head, and that he and his sons should be hanged on the pole. 26That is why these days are called Purim, after the name of Pur. Therefore, because of all the words of this letter, and because of what they had seen in this matter and what had befallen them, 27the Jews established and took upon themselves, upon their descendants and upon all who joined them, never to fail to keep these two days as prescribed in writing and at their appointed time, year after year;