A similar story is told in the Old testament of the Jewish Bible about the birth of Moses. At that time, the Jews were enslaved in Egypt. They slaved day and night to build Pharoah’s pyramids. Starved, beaten, they laboured in the hot sun, making bricks of straw and mud, hauling heavy materials and obeying the commands of cruel overlords. If any fault was found, they could be whipped and punished in many ways. They prayed and yearned for deliverance from this slavery.
An angel of the Lord appeared to Joseph in a dream and said, "Get up! Take the Child and His mother and flee to Egypt, and remain there until I tell you; for Herod is going to search for the Child to destroy Him." So Joseph got up and took the Child and His mother while it was still night, and left for Egypt. Many stories are told about their flight and sacred sites are found along the way. After some time, upon hearing of the death of King Herod, the holy family returns to Israel.