ויכתב בספר דברי הימים לפני המלך
“And it was written in the book what Mordechai did to save the king.” (Esther 2:23)
Mordechai told Esther to warn Achashveirosh about the plot of Bigsan and Seresh. After Achashveirosh realized that Mordechai had saved his life, he wrote it down in his book to make sure that he would reward him. The question is, why did he not simply reward Mordechai straight away?
The Chida (Chomas Onoch, Perek 41 in the name of the Yaares Devash) explains, that Mordechai told Esther not to mention his name. However, Esther knew: כל האומר דבר בשם אומרו מביא גאולה לעולם – “One who says over something in the name of the person who said it brings redemption to the world”, therefore, she ignored Mordechai and said it over in his name. However, Esther told Achashveirosh to pretend that he never knew that it was being said over in Mordechai’s name, therefore, he was unable to reward Mordechai straight away. Consequently, he needed to write it down, in order that at a later date he would remember.
With this we can also understand why: כל האומר דבר בשם אומרו מביא גאולה לעולם – “One who says over something in the name of the person who said it brings redemption to the world”. If Mordechai would have been rewarded straight away, then the whole Purim story may have ended differently. Only because, Esther said over the information in Mordechai’s name, did Achashveirosh have to write it down, and then happen to come across it at a later date just when Haman was trying to destroy the Jews.