Read this passage and open each verse for the full verse feed and commentary tools.
16Then Herod, when he saw that he was mocked by the wise men, was exceedingly angry, and sent forth, and killed all the male children who were in Bethlehem, and in all the surrounding countryside, from two years old and under, according to the exact time which he had learned from the wise men. 17Then that which was spoken by Jeremiah the prophet was fulfilled, saying,
19But when Herod was dead, behold, an angel of the Lord appeared in a dream to Joseph in Egypt, saying, 20"Arise and take the young child and his mother, and go into the land of Israel, for those who sought the young child`s life are dead." 21He arose and took the young child and his mother, and came into the land of Israel. 22But when he heard that Archelaus was reigning over Judea in the place of his father, Herod, he was afraid to go there. Being warned in a dream, he withdrew into the region of Galilee, 23and came and lived in a city called Nazareth; that it might be fulfilled which was spoken through the prophets: "He will be called a Nazarene."
Matthew 2:16-23 (WEB)