As with my last post, the following is also from Jonathan Edwards’s A History of the Work of Redemption.
The next thing I would observe, is God’s remarkably preserving the family of which Christ was to proceed from perishing by famine, by the instrumentality of Joseph. When there was a seven-years famine approaching, God was pleased, by a wonderful providence, to send Joseph into Egypt, there to provide for Jacob and his family, and to keep the holy seed alive, which otherwise would have perished. Joseph was sent into Egypt for that end, as he observes, Gen. l. 20. “But as for you, ye thought evil against me; but God meant it unto good, to save much people alive.” How often had this holy root, that had in it the future branch of righteousness, the glorious Redeemer, been in danger of being destroyed! But God wonderfully preserved it.
This salvation of the house of Israel, by the hand of Joseph, was upon some accounts very much a resemblance of the salvation of Christ. The children of Israel were saved by Joseph their kinsman and brother, from perishing by famine; as he that saves the souls of the spiritual Israel from spiritual famine is their near kinsman, and one that is not ashamed to call them brethren. Joseph was a brother they had hated, sold, and as it were killed; for they had designed to kill him. So Christ is one that we naturally hate, and by our wicked lives, have sold for the vain things of the world, and by our sins have slain. Joseph was first in a state of humiliation; he was a servant, as Christ appeared in the form of a servant; and then was cast into a dungeon, as Christ descended into the grave. When he rose out of the dungeon, he was in a state of great exaltation, at the king’s right hand as his deputy, to reign over all his kingdom, to provide food, to preserve life; and being in this state of exaltation, he dispenses food to his brethren, and so gives them life. So Christ was exalted at God’s right hand to be a Prince and Saviour to his brethren, received gifts for men, even for the rebellious, them that had hated and sold him. [source]