“And he thought scorn to lay hands on Mordecai alone; for they had shewed him the people of Mordecai: wherefore Haman sought to destroy all the Jews that were throughout the whole kingdom of Ahasuerus, even the people of Mordecai.” - Esther 3:6.
After King Ahasuerus, king of the Medo-Persian empire had promoted Haman above all his other princes, all the king's servants started bowing down to him. But Mordecai, a Jew, who was working in the king's court, refused to bow. When this was brought to the knowledge of Haman, he decided to bring a false report against the entire Jewish nation, so that they would be destroyed. He told the king that their laws are diverse from all people; neither keep they the king's laws: therefore it is not for the king's profit to suffer them”. - Esther 3:8.
Because of that negative report, the king signed an order for all the Jews to be destroyed on the 13th day of the month Adar. It could be seen that some highly placed officers whom a leader trusts, could, for petty reasons and to further their own selfish interests, mislead him into taking certain rash decisions.
But as the Bible says “The LORD bringeth the counsel of the heathen to nought: he maketh the devices of the people of none effect.” (Psalm 33:10) and “He disappointeth the devices of the crafty, so that their hands cannot perform their enterprise.” (Job 5:12) God used Queen Esther to present the matter to the King and thereby expose Haman's plot. Subsequently, the king hanged Haman on the gallows he had prepared for Mordecai. – Esther 7:1-10.