Joseph is sold by the envy of his brethren, in order to bring about the descent of the children of Israel into Egypt, and that while they were contemplating the death of their brother provision might be made for them against the famine to come: as Joseph shows when he makes himSelf known to his brethren and says: "Fear not, neither let it be grievous unto you that ye sold me into these parts: for for your salvation God sent me before you;" and below: "For God sent me before that ye might be preserved upon the earth and might have food whereby to live. Not by your design was I sent but by the w...ill of God, who has made me a father to Pharaoh and lord of all his house, and chief over all the land of Egypt." And when his brethren were alarmed after the death of his father, he removed their suspicions and terror by saying: "Fear not: Can ye resist the will of God? You imagined evil against me but God turned it into good, that He might exalt me, as ye see at the present time, that He might save much people." And that this was brought about providentially the blessed David likewise declared saying in the hundred and fourth Psalm: "And He called for a dearth upon the land: and brake all the staff of bread. He sent a man before them: Joseph was sold for a slave."
“But He had sent a man before them” (ver. 17). What man? “Even Joseph.” How did He send him? “Joseph was sold to be a bond-servant.” When this happened, it was the sin of his brethren, and, nevertheless, God sent Joseph into Egypt. We should therefore meditate on this important and necessary subject, how God useth well the evil works of men, as they on the other hand use ill the good works of God.
For although Joseph was sold, yet the prophet did not say: 'Joseph was sold by the Lord', but: Joseph was sold for a servant, he whom his own brothers sold, but whom the Lord, in a figure of his own Passion, redeemed from servitude and renewed to grace. So his brothers sold him and received money, but the Lord not only restored him to freedom, but also heaped him with dignity. And that there was in him a figure of the Lord Jesus, Scripture shows, which says: My son, sought with jealousy, return to me, and elsewhere: The firstborn, the beauty of a bull is his, in that God the Father exalted the... horn of his anointed.
Not nature but foolishness makes the slave. Not manumission but learning makes a person free. Esau was born free, but he became a slave; Joseph was sold into slavery, but he was raised to power8 so that he might rule those who had purchased him. Yet he did not slight his obligation to work zealously; he clung to the heights of virtue; he preserved the liberty of innocence, the stronghold of blamelessness. So the psalmist beautifully says, "Joseph had been sold into slavery. They had bound his feet with fetters." "He had been sold into slavery," he says; he did not become a slave. They had boun...d his feet, but not his soul.How is his soul bound when he says, "The iron pierced his soul"? Although the souls of others were pierced with sin (iron is sin, because it pierces within), the soul of blessed Joseph did not lie open to sin but pierced through sin. He was not swayed by the beauty of his mistress's charms, and so he did not experience the flames of passion, for he was aflame with the greater flame of divine grace. Thus, it is said very aptly of him, "Because the word of the Lord burned him," and with this he quenched the fiery darts of the devil.