2. They were wonderfully provided for and supplied. And here also, (1.) They were reduced to great extremity. Even in Canaan, the land of promise, he called for a famine, v. 16. Note, All judgments are at God's call, and no place is exempt from their visitation and jurisdiction when God sends them forth with commission. To try the faith of the patriarchs, God broke the whole staff of bread, even in that good land, that they might plainly see God designed them a better country than that was. (2.) God graciously took care for their relief. It was in obedience to his precept, and in dependence upon his promise, that they were now sojourners in Canaan, and therefore he could not in honour suffer any evil to befal them or any good thing to be wanting to them. As he restrained one Pharaoh from doing them wrong, so he raised up another to do them a kindness, by preferring and entrusting Joseph, of whose story we have here an abstract. He was to be the shepherd and stone of Israel and to save that holy seed alive, Gen. xlix. 24; l. 20. In order to this, [1.] He was humbled, greatly humbled (v. 17, 18): God sent a man before them, even Joseph. Many years before the famine began, he was sent before them, to nourish them in the famine; so vast are the foresights and forecasts of Providence, and so long its reaches. But in what character did he go to Egypt who was to provide for the reception of the church there? He went not in quality of an ambassador, no, nor so much as a factor or commissary; but he was sold thither for a servant, a slave for term of life, without any prospect of being ever set at liberty. This was low enough, and, one would think, set him far enough from any probability of being great. And yet he was brought lower; he was made a prisoner (v. 18): His feet they hurt with fetters. Being unjustly charged with a crime no less heinous than a rape upon his mistress, the iron entered into his soul, that is, was very painful to him; and the false accusation which was the cause of his imprisonment did in a special manner grieve him, and went to his heart; yet all this was the way to his preferment. [2.] He was exalted, highly exalted. He continued a prisoner, neither tried nor bailed, until the time appointed of God for his release (v. 19), when his word came, that is, his interpretations of the dreams came to pass, and the report thereof came to Pharaoh's ears by the chief butler. And then the word of the Lord cleared him; that is, the power God gave him to foretel things to come rolled away the reproach his mistress had loaded him with; for it could not be thought that God would give such a power to so bad a man as he was represented to be. God's word tried him, tried his faith and patience, and then it came in power to give command for his release. There is a time set when God's word will come for the comfort of all that trust in it, Hab. ii. 3. At the end it shall speak, and not lie. God gave the word, and then the king sent and loosed him; for the king's heart is in the hand of the Lord. Pharaoh, finding him to be a favourite of Heaven, First, Discharged him from his imprisonment (v. 20): He let him go free. God has often, by wonderful turns of providence, pleaded the cause of oppressed innocency. Secondly, He advanced him to the highest posts of honour, v. 21, 22. He made him lord high chamberlain of his household (he made him lord of his house); nay, he put him into the office of lord-treasurer, the ruler of all his substance. He made him prime-minister of state, lord-president of his council, to command his princes at his pleasure and teach them wisdom, and general of his forces. According to thy word shall all my people be ruled, Gen. xli. 40, 43, 44. He made him lord chief justice, to judge even his senators and punish those that were disobedient. In all this Joseph was designed to be, 1. A father to the church that then was, to save the house of Israel from perishing by the famine. He was made great, that he might do good, especially in the household of faith. 2. A figure of Christ that was to come, who, because he humbled himself and took upon him the form of a servant, was highly exalted, and has all judgment committed to him. Joseph being thus sent before, and put into a capacity of maintaining all his father's house, Israel also came into Egypt (v. 23), where he and all his were very honourably and comfortably provided for many years. Thus the New-Testament church has a place provided for her even in the wilderness, where she is nourished for a time, times, and half a time, Rev. xii. 14. Verily she shall be fed.