Matthew 2New American Standard Bible (NASB)
The Visit of the Magi
2 Now after Jesus was born in Bethlehem of Judea in the days of Herod the king, [a]magi from the east arrived in Jerusalem, saying, 2 “Where is He who has been born King of the Jews? For we saw His star in the east and have come to worship Him.” 3 When Herod the king heard this, he was troubled, and all Jerusalem with him. 4 Gathering together all the chief priests and scribes of the people, he inquired of them where the [b]Messiah was to be born. 5 They said to him, “In Bethlehem of Judea; for this is what has been written [c]by the prophet:
6 ‘And you, Bethlehem, land of Judah,
7 Then Herod secretly called the magi and determined from them [d]the exact time the star appeared. 8 And he sent them to Bethlehem and said, “Go and search carefully for the Child; and when you have found Him, report to me, so that I too may come and worship Him.” 9 After hearing the king, they went their way; and the star, which they had seen in the east, went on before them until it came and stood over the place where the Child was. 10 When they saw the star, they rejoiced exceedingly with great joy. 11 After coming into the house they saw the Child with Mary His mother; and they [e]fell to the ground and worshiped Him. Then, opening their treasures, they presented to Him gifts of gold, frankincense, and myrrh. 12 And having been warned by God in a dream not to return to Herod, the magi left for their own country by another way.
The Flight to Egypt
13 Now when they had gone, behold, 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 going to search for the Child to destroy Him.”
14 So [f]Joseph got up and took the Child and His mother while it was still night, and left for Egypt. 15 He [g]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 called My Son.”
Herod Slaughters Babies
16 Then when Herod saw that he had been tricked by the magi, he became very enraged, and sent and slew all the male children who were in Bethlehem and all its vicinity, from two years old and under, according to the time which he had determined from the magi. 17 Then what had been spoken through Jeremiah the prophet was fulfilled:
18 “A voice was heard in Ramah,
19 But when Herod died, behold, an angel of the Lord *appeared in a dream to Joseph in Egypt, and said, 20 “Get up, take the Child and His mother, and go into the land of Israel; for those who sought the Child’s life are dead.” 21 So [h]Joseph got up, took the Child and His mother, and came into the land of Israel. 22 But when he heard that Archelaus was reigning over Judea in place of his father Herod, he was afraid to go there. Then after being warned by God in a dream, he left for the regions of Galilee, 23 and came and lived in a city called Nazareth. This was to fulfill what was spoken through the prophets: “He shall be called a Nazarene.”
Matthew 2Young's Literal Translation (YLT)
2 And Jesus having been born in Beth-Lehem of Judea, in the days of Herod the king, lo, mages from the east came to Jerusalem,
2 saying, `Where is he who was born king of the Jews? for we saw his star in the east, and we came to bow to him.'
3 And Herod the king having heard, was stirred, and all Jerusalem with him,
4 and having gathered all the chief priests and scribes of the people, he was inquiring from them where the Christ is born.
5 And they said to him, `In Beth-Lehem of Judea, for thus it hath been written through the prophet,
6 And thou, Beth-Lehem, the land of Judah, thou art by no means the least among the leaders of Judah, for out of thee shall come one leading, who shall feed My people Israel.'
7 Then Herod, privately having called the mages, did inquire exactly from them the time of the appearing star,
8 and having sent them to Beth-Lehem, he said, `Having gone -- inquire ye exactly for the child, and whenever ye may have found, bring me back word, that I also having come may bow to him.'
9 And they, having heard the king, departed, and lo, the star, that they did see in the east, did go before them, till, having come, it stood over where the child was.
10 And having seen the star, they rejoiced with exceeding great joy,
11 and having come to the house, they found the child with Mary his mother, and having fallen down they bowed to him, and having opened their treasures, they presented to him gifts, gold, and frankincense, and myrrh,
12 and having been divinely warned in a dream not to turn back unto Herod, through another way they withdrew to their own region.
13 And on their having withdrawn, lo, a messenger of the Lord doth appear in a dream to Joseph, saying, `Having risen, take the child and his mother, and flee to Egypt, and be thou there till I may speak to thee, for Herod is about to seek the child to destroy him.'
14 And he, having risen, took the child and his mother by night, and withdrew to Egypt,
15 and he was there till the death of Herod, that it might be fulfilled that was spoken by the Lord through the prophet, saying, `Out of Egypt I did call My Son.'
16 Then Herod, having seen that he was deceived by the mages, was very wroth, and having sent forth, he slew all the male children in Beth-Lehem, and in all its borders, from two years and under, according to the time that he inquired exactly from the mages.
17 Then was fulfilled that which was spoken by Jeremiah the prophet, saying,
18 `A voice in Ramah was heard -- lamentation and weeping and much mourning -- Rachel weeping [for] her children, and she would not be comforted because they are not.'
19 And Herod having died, lo, a messenger of the Lord in a dream doth appear to Joseph in Egypt,
20 saying, `Having risen, take the child and his mother, and be going to the land of Israel, for they have died -- those seeking the life of the child.'
21 And he, having risen, took the child and his mother, and came to the land of Israel,
22 and having heard that Archelaus doth reign over Judea instead of Herod his father, he was afraid to go thither, and having been divinely warned in a dream, he withdrew to the parts of Galilee,
23 and coming, he dwelt in a city named Nazareth, that it might be fulfilled that was spoken through the prophets, that `A Nazarene he shall be called.'