They told him, "In Bethlehem of Judea; for so it has been written by the prophet:
"And you, Bethlehem, in the land of Judah, are by no means least among the rulers of Judah; for from you shall come a ruler who is to shepherd my people Israel.' "
References for Matthew 2:6
Then Herod secretly called for the wise men and learned from them the exact time when the star had appeared.
References for Matthew 2:7
Then he sent them to Bethlehem, saying, "Go and search diligently for the child; and when you have found him, bring me word so that I may also go and pay him homage."
When they had heard the king, they set out; and there, ahead of them, went the star that they had seen at its rising, until it stopped over the place where the child was.
References for Matthew 2:9
When they saw that the star had stopped, they were overwhelmed with joy.
References for Matthew 2:10
On entering the house, they saw the child with Mary his mother; and they knelt down and paid him homage. Then, opening their treasure chests, they offered him gifts of gold, frankincense, and myrrh.
And having been warned in a dream not to return to Herod, they left for their own country by another road.
Now after they had left, an angel of the Lord appeared to Joseph in a dream and said, "Get up, take the child and his mother, and flee to Egypt, and remain there until I tell you; for Herod is about to search for the child, to destroy him."
Then Joseph got up, took the child and his mother by night, and went to Egypt,
References for Matthew 2:14
and remained there until the death of Herod. This was to fulfill what had been spoken by the Lord through the prophet, "Out of Egypt I have called my son."