Genesis 45:5-7
45:5 Now, do not be upset and do not be angry with yourselves because you sold me here, for God sent me ahead of you to preserve life!
45:6 For these past two years there has been famine in the land and for five more years there will be neither plowing nor harvesting.
45:7 God sent me ahead of you to preserve you on the earth and to save your lives by a great deliverance.