1. With the beginning of the manifestation of the King's will, THAT IS, WHEN THE KING DESIRED TO EMANATE AND CREATE THE WORLD, a hard spark made an engraving upon the supernal light. IT emanated from the most concealed of all concealed things - from the secret of the Endlessness Light - took a shapeless form. THE SPARK was then inserted into THE CENTER OF a circle that was neither white nor black nor red nor green, nor any color at all. When it began its measurements, it created colors that shone into THE EMPTY SPACE AND THE ENGRAVING. From within the HARD spark a fountain spouted, from which the shades down below received their colors.
224. There are five groups in the mixed multitude. These are the Nefilim (fallen), the Giborim (mighty), the Anakim (giants), the Refaim (shades) and the Amalekites. Because of them, the small Hei fell from its place, NAMELY FROM BINAH. Bilaam and Balak come from the side of Amalek, because if you remove the letters Am from Bilaam and the letters Lak from Balak, you are left with Babylon (Heb. Bavel). "Therefore is the name of it called Babylon; because Hashem did there confound (Heb. balal) the language of all the earth" (Beresheet 11:9).
230. The Refaim (shades) are the fourth group OF THE MIXED MULTITUDE THAT MIXED WITH YISRAEL. If they notice a time of distress coming upon Yisrael, they abandon them. Even if they have the power to save them, they do not want to do so. They abandon the Torah and AVOID those who study it. Instead, they do favors to those who worship idols. Of them, it is written: "The shades of the dead (Heb. refaim) shall not rise" (Yeshayah 26:14), MEANING THAT THEY SHALL NOT RISE AT THE RESURRECTION OF THE DEAD. When The Children of Yisrael are visited TO BE REDEEMED FROM THEIR DISTRESS, it is written about them: "And made all their memory to perish" (Ibid.). BECAUSE THEY ARE THE OFFSPRING OF DARKNESS, THEY SHALL PERISH AS THE LIGHT REACHES YISRAEL. THIS FOURTH GROUP IS EQUIVALENT TO ZEIR ANPIN OF THE KLIPAH.