289. Rabbi Yitzchak said: IT WAS the practices of Egypt THAT THEY USED to worship the maidservant, MEANING THE KLIPAH CALLED MAIDSERVANT, as we have explained. The practice of Canaan WAS TO worship THAT PLACE called "the captive that was in the dungeon" (Shemot 12:29). Therefore, it is written, "Cursed be Canaan; a servant of servants shall he be to his brethren" (Beresheet 9:25). For this reason, they all falsified in matters of holiness and everything practiced IDOLATRY. For this reason, IT IS WRITTEN, "After the doings of the land of Egypt, in which you dwelt..." (Vayikra 18:3). Rabbi Yehuda said: They created evil Judgments that will rule over the land, NAMELY MALCHUT, as the verse says, "That your land be not defiled" (Devarim 21:23) and, "And the land is defiled" (Vayikra 18:27).
290. "After the doings of the land of Egypt:" Rabbi Chiya said, "That it might take hold of the ends of the earth, that the wicked might be shaken out of it" (Iyov 38:13). We have learned that the Holy One, blessed be He, in the future will cleanse His land, MALCHUT, from all the defilement of the idolatrous nations that defiled it, just as one takes hold of a garment and shakes out from it all the filth, referring to all THE WICKED buried in the Holy Land. SO HE WILL SHAKE OUT THE LAND in order to cast them out and IN ORDER to purify the Holy Land, DENOTING MALCHUT, from the Other Side. It is as if it was sustaining the other ministers of the nations, from whom it received defilement in order to guide them. And He will cleanse it and remove THE MINISTERS OF THE NATIONS to the outside.