Genesis 45:5
5 And now do not be distressed or angry with yourselves because you sold me here, sfor God sent me before you to preserve life.
Genesis 45:7
7 And God sent me before you to preserve for you a remnant on earth, and to keep alive for you many survivors.