The Purim story begins about 900 years after the Exodus from Egypt, in what is now Iran, history repeats itself. The Jews had been living in Israel continually, since they first entered with Joshua.