If we accumulate extraordinary merit, Mashiach will come before the destined time. Without such merit, at the appointed time Hashem will bring events that stir us to repent.