Many literary parallels exist between the story of Yosef and the megillah. What is the message of these parallels?

Translated by Rabbi Shalom Berger