"During the time Mordecai was sitting at the king's gate, Bigthana and Teresh, two of the king's officers who guarded the doorway, became angry and conspired to assassinate King Xerxes. But Mordecai found out about the plot and told Queen Esther, who in turn reported it to the king, giving credit to Mordecai." NIV translation
Mordecai was in the right place at the right time to learn of a plot to kill the king. Esther continued to demonstrate her humbleness by giving credit to Mordecai and Mordecai is in position to be favored by God.
The plot was investigated and the men were executed. The king was made aware of all of this and you can imagine how thankful he was for Mordecai.
Behind the scenes, the hand of God is at work to protect His people. The same is true for us today as He looks after His children even when we don't see what He is doing sometimes.