Jacob took twelve stones of the stones of the altar, whereon his father Isaac had been bound, and he set them for his pillow in that place, to indicate to himself that twelve tribes were destined to arise from him. And they all became one stone, to indicate to him that all (the tribes) were destined to become one people on the earth, as it is said, "And who is like thy people Israel, a nation that is alone on the earth" (1 Chron. 17:21).
Rabbi Levi said: In that night the Holy One, blessed be He, showed him all the signs. He showed him a ladder standing from the earth to the heaven, as it is said, "And he dreamed, and behold || a ladder set up on the earth, and the top of it reached to heaven" (Gen. 28:12). And the ministering angels were ascending and descending thereon, and they beheld the face of Jacob, and they said: This is the face like the face of the Chayyah, which is on the Throne of Glory. Such (angels) who were (on earth) below were ascending to see the face of Jacob among the faces of the Chayyah, (for it was) like the face of the Chayyah, which is on the Throne of Glory. Some (angels) ascended and some descended, as it is said, "And behold the angels of God were ascending and descending on it" (ibid.). The Holy One, blessed be He, showed him the four kingdoms, their rule and their destruction, and He showed him the prince of the kingdom of Babylon ascending [seventy rungs, and descending; and He showed him the prince of the kingdom of] Media ascending fifty-two rungs and descending; [and He showed him the prince of the kingdom of Greece ascending 180 ascents and descending;] and He showed him the prince of the kingdom of Edom ascending, and he was not descending, but was saying, "I will ascend above the heights of the clouds; I will be like the Most High" (Isa. 14:14). Jacob replied to him: "Yet thou shalt be brought down to Sheol, to the uttermost parts of the pit" (Isa. 14:15). The Holy One, blessed be He, said to him: Even "though thou shouldest make thy nest as high as the eagle" (Jer. 49:16).