Genesis 45:7 Joseph and his brothers are reconciled.
"God sent me before you to preserve for you a remnant on earth, and to keep alive for you many survivors."
Joseph's foresight, borne out of slavery, saves not only Egypt, but Canaan and 'all the world'.