Here, we are going to know about The Escape to Egypt. When an angel of the lord appeared in a dream and said Herod will be looking for the child to kill him.
After they had left, an angel of the Lord appeared in a dream to Joseph and said, “Herod will be looking for the child in order to kill him. So get up, take the child and his mother and escape to Egypt, and stay there until I tell you to leave.”
Joseph got up, took the child and his mother, and left during the night for Egypt, where he stayed until Herod died. This was done to make what the Lord had said through the prophet come true, “I called my Son out of Egypt,”
The Killing of the Children
When Herod realized that the visitors from the east had tricked him, he was furious. He gave orders to kill all the boys in Bethlehem and its neighborhood who were two years old and younger — this was done in accordance with what he had learned from the visitors about the time when the star had appeared.
In this way what the prophet Jeremiah had said came true:
“A sound is heard in Ramah, The sound of bitter weeping. Rachel is crying for her children; she refuses to be comforted, for they are dead.”
The Return from Egypt
After Herod died, an angel of the Lord appeared in a dream to Joseph in Egypt and said, Get up, take the child and his mother, and go back to the land of Israel, because those who tried to kill the child are dead. So, Joseph got up, took the child and his mother, and went back to Israel.
But when Joseph heard that Archelaus had succeeded his father Herod as king of Judaea, he was afraid to go there. He was given more instructions in a dream, so he went to the province of Galilee and made his home in a town named Nazareth. And so what the prophets had said came true; “He will be called a Nazarene.”