The Holy One, Blessed be He, has set a time for redemption, but if Israel merits, the Messiah will come earlier.

-Yalkut Shimoni, Isaiah 60:22