Matthew 2:14-21 Common English Bible (CEB)
14 Joseph got up and, during the night, took the child and his mother to Egypt. 15 He stayed there until Herod died. This fulfilled what the Lord had spoken through the prophet: I have called my son out of Egypt.[a]
Murder of the Bethlehem children
16 When Herod knew the magi had fooled him, he grew very angry. He sent soldiers to kill all the children in Bethlehem and in all the surrounding territory who were two years old and younger, according to the time that he had learned from the magi. 17 This fulfilled the word spoken through Jeremiah the prophet:
18 A voice was heard in Ramah,
Return from Egypt
19 After King Herod died, an angel from the Lord appeared in a dream to Joseph in Egypt. 20 “Get up,” the angel said, “and take the child and his mother and go to the land of Israel. Those who were trying to kill the child are dead.” 21 Joseph got up, took the child and his mother, and went to the land of Israel.