It is interesting that in the beginning of this week’s Parsha we find Moshe very involved with Yosef (taking along his coffin), and immediately, the very next Passuk says: וַחֲ מֻ שִׁ ים that the Yidden went out with weapons. The Meforshim ask why did the Yidden go out armed? Leaving “Mitzrayim” means leaving the Yetzer Hara (especially of Z’nus), and the leader in fighting this Yetzer Hara is Yosef HaTzaddik. Yosef paved the way for Middas HaYesod, and thanks to Yosef, the Yidden were able to withstand this Yetzer Hara (Medrash) which is related specifically to Mitzrayim. Z’nus is the #1 sin, which turns a person into an animal; and those that overcome this Yetzer Hara are like Malachim.
Mitzrayim symbolizes a place without self-control. Its name, “Mitzrayim” comes from the word: ריצֵַמ ֵ Meitzar, which is a Lashon of being “confined” and unable to break-free of bad habits. That’s why Moshe was busy with Yosef, since Yosef was the forerunner in paving the way in battling the Yetzer Hara and becoming great by being Mis'gaber over his Tevah (nature). This explains the connection between these two Pesukim.
Moshe is now the leader of Klal Yisrael, and he is emulating Yosef. And the Yidden are going out of “Mitzrayim”, armed with tactics how to fight the Yetzer Hara, and that’s why Yosef goes along with them. He is their hero and their inspiration forever.
This also explains why the Yidden are repeatedly called: צִׁ בְ אוֹתֵֵ'ה the warriors of Hashem. Notice that they are called: צִׁ בְ אוֹתֵֵ'ה the warriors of Hashem when they are making the Matzos. Why? The word Matza means fighting (לָ שוֹןֵֵמֵַצֵָהֵוּמְֵרִֵׁיבֵָה) because in order to prevent the dough from rising, you must beat it, otherwise it becomes Chametz. What is special about fighting, that the Yidden are called: צִׁ בְ אוֹתֵֵ'ה the warriors of Hashem, and why is Chametz the bad guy (as it says: וּשְ מַ רְ תֶ םֵאֵֶתֵהַ מַ צּוֹתֵבאֵיבֵיז guard the Matzos, and Rashi explains “guard it from becoming Chametz”)?
