Maase Avot Siman La'Banim
By the end of this entire episode, God had created a situation that would guarantee the physical survival of Am Yisrael during the famine (and also set the stage for "geulat mitzraim"). Yosef, in the meantime, had created a situation that would keep Am Yisrael united.

Throughout the generations God oversees our history, making sure that we survive, by creating opportunities for our redemption. However, as we enjoy His providence, it remains our own responsibility to make sure that we remain united as our destiny unfolds.