It follows, therefore, that the purpose of the Messianic era and of the resurrection, namely, the revelation of His glory and Divinity and the banishment of the spirit of impurity from the earth,

וְנִמְצָא, כִּי כָּל תַּכְלִית שֶׁל יְמוֹת הַמָּשִׁיחַ וּתְחִיַּית הַמֵּתִים – שֶׁהוּא גִילּוּי כְּבוֹדוֹ וֵאלֹהוּתוֹ יִתְבָּרֵךְ, וּלְהַעֲבִיר רוּחַ הַטּוּמְאָה מִן הָאָרֶץ –

is entirely dependent on [our] drawing down His G-dliness and the blessed Ein Sof-light upon all the 248 limbs of the vital soul of all Israel (for by way of the vital soul, all the world will be suffused with G-dliness), and this is achieved by the vital soul’s performance of all the 248 positive mitzvot;

תָּלוּי בְּהַמְשָׁכַת אֱלֹהוּתוֹ וְאוֹר־אֵין־סוֹף בָּרוּךְ־הוּא לַנֶּפֶשׁ הַחִיּוּנִית שֶׁבִּכְלָלוּת יִשְׂרָאֵל בְּכָל רַמַ"ח אֵבָרֶיהָ, עַל יְדֵי קִיּוּמָהּ כָּל רַמַ"ח מִצְוֹת עֲשֵׂה,

and this purpose is also dependent on [our] banishing the spirit of impurity, i.e., the three impure kelipot from the vital soul of all Israel (for by being banished from the vital soul, the spirit of impurity is banished from the entire world), and this is accomplished by the vital soul’s observance of all 365 prohibitive mitzvot, thus preventing its 365 blood vessels from drawing nurture from the spirit of impurity.

וּלְהַעֲבִיר רוּחַ הַטּוּמְאָה מִמֶּנָּה, בִּשְׁמִירָתָהּ כָּל שַׁסַ"ה מִצְוֹת לֹא תַעֲשֶׂה, שֶׁלֹּא יִינְקוּ מִמֶּנָּה שַׁסַ"ה גִידֶיהָ.