Another interpretation (of Gen. 39:1): "And Joseph was brought down to Egypt." This is what Scripture says (Hos. 11:4): "With cords of a man I drew them, with bands of love." Israel deserved to go down to Egypt in chains and in neck-irons, just as they went down to Babylon, had not Joseph gone first. Everything that befell Joseph befell Zion; that which is written of Joseph is written of Zion. Of Joseph it is written (Gen. 39:6): "fair of form and fair of appearance," and of Zion it is written (Lam. 2:15): "the perfection of beauty." Therefore Jacob was afraid to go down to Egypt, because it had been decreed concerning Abraham (Gen. 15:13): "Know surely that your seed shall be a stranger in a land that is not theirs," and so he settled in the land of Canaan. They came and said to him: Joseph was sold, who was likened to an ox, as it is said (Deut. 33:17): "His firstling ox, majesty is his," and behold, he is set in Egypt. When Jacob heard this, he said: Behold, I am going down to Egypt, even though I am paying off the bonds of Abraham. Immediately (Gen. 45:28): "And Israel said: It is enough; Joseph my son is still alive." Immediately all the tribes went down with him. Who caused them to go down to Egypt? Joseph. (Hos. 11:4): "With cords of a man I drew them" — this is Joseph. (Gen. 39:1): "And Joseph was brought down to Egypt."
Why Joseph Went Down to Egypt First and Spared Israel Chains
Midrash Tanchuma Buber, Vayeshev 18:1
ד"א ויוסף הורד מצרימה. זש"ה בחבלי אדם אמשכם בעבותות אהבה (הושע יא ד). ראוין היו ישראל לירד למצרים בשלשלאות (ובקולרין, כשם שירדו לבבל, אילולי שקדם יוסף, כל מה שאירע ליוסף אירע לציון, מה שכתיב ביוסף כתיב בציון ביוסף כתיב יפה תואר ויפה מראה (בראשית לט ו), בציון כתיב כלילת יופי (איכה ב טו), לפיכך היה יעקב מתיירא לירד למצרים, לפי שנגזר על אברהם, ידוע תדע כי גר יהיה זרעך (בראשית טו יג), וישב לו בארץ כנען, באו ואמרו לו נמכר יוסף שנדמה לשור, שנאמר בכור שורו הדר לו (דברים לג יז). והרי הוא נתון במצרים, כיון ששמע יעקב כן אמר הרי אני יורד למצרים, אע"פ שאני פורע שטריו של אברהם, מיד ויאמר ישראל רב עוד יוסף בני חי (בראשית מה כח), מיד ירדו כל השבטים עמו, מי גרם להם שירד למצרים, יוסף, בחבלי אדם אמשכם, זה יוסף, ויוסף הורד מצרימה.