Because Joseph was a Tzadik, the Israelites benefited from his merits and came out of Egypt with silver and gold. All was made to give them path to the world to come.
“וַיּוֹצִיאֵם בְּכֶסֶף וְזָהָב וְאֵין בִּשְׁבָטָיו כּוֹשֵׁל”
“Then he brought out Israel with silver and gold, and there was none among his tribes who stumbled.”
“רְאֵה חַיִּים עִם אִשָּׁה אֲשֶׁר אָהַבְתָּ כָּל יְמֵי חַיֵּי הֶבְלֶךָ אֲשֶׁר נָתַן לְךָ תַּחַת הַשֶּׁמֶשׁ כֹּל יְמֵי הֶבְלֶךָ כִּי הוּא חֶלְקְךָ בַּחַיִּים וּבַעֲמָלְךָ אֲשֶׁר אַתָּה עָמֵל תַּחַת הַשָּׁמֶשׁ”
“Find life with the woman whom you love, all the days of your vain life that he has given you under the sun, because that is your portion in life and in your toil at which you toil under the sun.”
‘Find life with the woman’ is the aspect of life in the world to come that we need to work and earn to reach the love and light that we seek.
‘with the woman whom you love’ is the aspect of the female, the Shechina that draws the light of Chessed. The love comes from the Right that is Chessed.
“מֵרָחוֹק יְהוָה נִרְאָה לִי וְאַהֲבַת עוֹלָם אֲהַבְתִּיךְ עַל כֵּן מְשַׁכְתִּיךְ חָסֶד”
“YHVH appeared to him from afar, saying, “I have loved you with an everlasting love; Therefore I have drawn you with lovingkindness (Chessed).”
Abraham, Isaac and Jacob made the triangle that connect to the upper triangle (the upper three Sefirot) but for us Joseph is the first connection because he is at the door, Yessod, that connects us to the Tree of Life. Without him we are lost in the darkness of Malchut.
Daily Zohar # 2905 – Miketz – Find life with the most significant one