Matthew 2:11-21

11 And they came into the house and saw the young child with Mary his mother; and they fell down and worshipped him; and opening their treasures they offered unto him gifts, gold and frankincense and myrrh.
12 And being warned [of God] in a dream that they should not return to Herod, they departed into their own country another way.
13 Now when they were departed, behold, an angel of the Lord appeareth to Joseph in a dream, saying, Arise and take the young child and his mother, and flee into Egypt, and be thou there until I tell thee: for Herod will seek the young child to destroy him.
14 And he arose and took the young child and his mother by night, and departed into Egypt;
15 and was there until the death of Herod: that it might be fulfilled which was spoken by the Lord through the prophet, saying, Out of Egypt did I call my son.
16 Then Herod, when he saw that he was mocked of the Wise-men, was exceeding wroth, and sent forth, and slew all the male children that were in Bethlehem, and in all the borders thereof, from two years old and under, according to the time which he had exactly learned of the Wise-men.
17 Then was fulfilled that which was spoken through Jeremiah the prophet, saying,
18 A voice was heard in Ramah, weeping and great mourning, Rachel weeping for her children; And she would not be comforted, because they are not.
19 But when Herod was dead, behold, an angel of the Lord appeareth 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 they are dead that sought the young child's life.
21 And he arose and took the young child and his mother, and came into the land of Israel.
The American Standard Version is in the public domain.