Final Galus is preparation for receiving Pnimiyus Hatorah:
The exile in Egypt had to be experienced by the Jewish people in order to merit receiving the Torah. The reason for this is because just as a seed needs plowed earth in order to grow, so too the Jewish ego had to be softened through exile and slavery to then be able to receive the Mitzvos and draw down G-dliness through performing them. The same applies to all the exiles after the Exodus, including the last exile we are currently in. The purpose of this exile and all of its suffering is to merit receiving the inner aspects of Torah in the future, and seeing eye to eye with Hashem.
 Torah Or Vayechi p. 49a and 54a