Read this passage and open each verse for the full verse feed and commentary tools.
11They came into the house and saw the young child with Mary, his mother, and they fell down and worshipped him. Opening their treasures, they offered to him gifts: gold, frankincense, and myrrh. 12Being warned in a dream that they shouldn`t return to Herod, they went back to their own country another way.
13Now when they had departed, behold, an angel of the Lord appeared to Joseph in a dream, saying, "Arise and take the young child and his mother, and flee into Egypt, and stay there until I tell you, for Herod will seek the young child to destroy him." 14He arose and took the young child and his mother by night, and departed into Egypt, 15and 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 I called my son."
Matthew 2:11-15 (WEB)