From three exiles the Jewish people were redeemed in the merit of the Patriarchs, but redemption from the fourth will be in the merit of Moshe.
Thus, we will be redeemed in the merit of the Torah that he gave us.
At the conclusion of the final exile, the sea of Torah will split and all the wonders in Torah will be revealed. For by virtue of Torah study we will merit complete redemption speedily in our days.(The Vilna Gaon)