Now when they had departed, behold, an angel of the Lord appeared to Joseph in a dream and said, "Rise, take the child and his mother, and flee to Egypt, and remain there till I tell you; for Herod is about to search for the child, to destroy him."
And he rose and took the child and his mother by night, and departed to Egypt,
and remained there until the death of Herod. This was to fulfil what the Lord had spoken by the prophet, "Out of Egypt have I called my son."
Then Herod, when he saw that he had been tricked by the wise men, was in a furious rage, and he sent and killed all the male children in Bethlehem and in all that region who were two years old or under, according to the time which he had ascertained from the wise men.
Then was fulfilled what was spoken by the prophet Jeremiah:
"A voice was heard in Ramah, wailing and loud lamentation, Rachel weeping for her children; she refused to be consoled, because they were no more."
But when Herod died, behold, an angel of the Lord appeared in a dream to Joseph in Egypt, saying,
"Rise, take the child and his mother, and go to the land of Israel, for those who sought the child's life are dead."
And he rose and took the child and his mother, and went to the land of Israel.
But when he heard that Archelaus reigned over Judea in place of his father Herod, he was afraid to go there, and being warned in a dream he withdrew to the district of Galilee.
And he went and dwelt in a city called Nazareth, that what was spoken by the prophets might be fulfilled, "He shall be called a Nazarene."
Revised Standard Version of the Bible, copyright 1952 [2nd edition, 1971] by the Division of Christian Education of the National Council of the Churches of Christ in the United States of America. Used by permission. All rights reserved. (Revised Standard Version - Holy Bible)