New International Version
Joseph Accepts Jesus as His Son
18 This is how the birth of Jesus the Messiah came about[a]: His mother Mary was pledged to be married to Joseph, but before they came together, she was found to be pregnant through the Holy Spirit.(A) 19 Because Joseph her husband was faithful to the law, and yet[b] did not want to expose her to public disgrace, he had in mind to divorce(B) her quietly.
20 But after he had considered this, an angel(C) of the Lord appeared to him in a dream(D) and said, “Joseph son of David, do not be afraid to take Mary home as your wife, because what is conceived in her is from the Holy Spirit. 21 She will give birth to a son, and you are to give him the name Jesus,[c](E) because he will save his people from their sins.”(F)
22 All this took place to fulfill(G) what the Lord had said through the prophet: 23 “The virgin will conceive and give birth to a son, and they will call him Immanuel”[d](H) (which means “God with us”).
24 When Joseph woke up, he did what the angel(I) of the Lord had commanded him and took Mary home as his wife. 25 But he did not consummate their marriage until she gave birth to a son. And he gave him the name Jesus.(J)
The Magi Visit the Messiah
2 After Jesus was born in Bethlehem in Judea,(K) during the time of King Herod,(L) Magi[e] from the east came to Jerusalem 2 and asked, “Where is the one who has been born king of the Jews?(M) We saw his star(N) when it rose and have come to worship him.”
3 When King Herod heard this he was disturbed, and all Jerusalem with him. 4 When he had called together all the people’s chief priests and teachers of the law, he asked them where the Messiah was to be born. 5 “In Bethlehem(O) in Judea,” they replied, “for this is what the prophet has written:
7 Then Herod called the Magi secretly and found out from them the exact time the star had appeared. 8 He sent them to Bethlehem and said, “Go and search carefully for the child. As soon as you find him, report to me, so that I too may go and worship him.”
9 After they had heard the king, they went on their way, and the star they had seen when it rose went ahead of them until it stopped over the place where the child was. 10 When they saw the star, they were overjoyed. 11 On coming to the house, they saw the child with his mother Mary, and they bowed down and worshiped him.(Q) Then they opened their treasures and presented him with gifts(R) of gold, frankincense and myrrh. 12 And having been warned(S) in a dream(T) not to go back to Herod, they returned to their country by another route.