Matthew 1:18-25 New Revised Standard Version (NRSV)
The Birth of Jesus the Messiah
18 Now the birth of Jesus the Messiah[a] took place in this way. When his mother Mary had been engaged to Joseph, but before they lived together, she was found to be with child from the Holy Spirit. 19 Her husband Joseph, being a righteous man and unwilling to expose her to public disgrace, planned to dismiss her quietly. 20 But just when he had resolved to do this, an angel of the Lord appeared to him in a dream and said, “Joseph, son of David, do not be afraid to take Mary as your wife, for the child conceived in her is from the Holy Spirit. 21 She will bear a son, and you are to name him Jesus, for he will save his people from their sins.” 22 All this took place to fulfill what had been spoken by the Lord through the prophet:
23 “Look, the virgin shall conceive and bear a son,
which means, “God is with us.” 24 When Joseph awoke from sleep, he did as the angel of the Lord commanded him; he took her as his wife, 25 but had no marital relations with her until she had borne a son;[b] and he named him Jesus.
Matthew 1:18-25 The Message (MSG)
The Birth of Jesus
18-19 The birth of Jesus took place like this. His mother, Mary, was engaged to be married to Joseph. Before they came to the marriage bed, Joseph discovered she was pregnant. (It was by the Holy Spirit, but he didn’t know that.) Joseph, chagrined but noble, determined to take care of things quietly so Mary would not be disgraced.
20-23 While he was trying to figure a way out, he had a dream. God’s angel spoke in the dream: “Joseph, son of David, don’t hesitate to get married. Mary’s pregnancy is Spirit-conceived. God’s Holy Spirit has made her pregnant. She will bring a son to birth, and when she does, you, Joseph, will name him Jesus—‘God saves’—because he will save his people from their sins.” This would bring the prophet’s embryonic sermon to full term:
Watch for this—a virgin will get pregnant and bear a son;
24-25 Then Joseph woke up. He did exactly what God’s angel commanded in the dream: He married Mary. But he did not consummate the marriage until she had the baby. He named the baby Jesus.