After the wise men were gone, and angel of the Lord appeared to Joseph in a dream, “Get up! Flee to Egypt with the child and his mother,” the angel said, “Stay there until I tell you to return, because Herod is goin to search for the child to kill him.”
That night, Joseph left for Egypt with the child and Mary, his mother and they stayed there until Herod’s death. This fulfilled what the Lord had spoken through the prophet: “I called My Son out of Egypt.”
Herod was furious when he realized that the wise men had outwitted him. He sent soldiers to kill all the boys in and around Bethlehem who were two years old and younger, based on the wise men’s report of the star’s first appearance. Herod’s brutal action fulfilled what God had spoken through the prophet Jeremiah:
“A cry was heard in Ramah – weeping and great mourning. Rachel weeps for her children, refusing to be comforted, for they are dead.” (vv. 13-18, NLT)