This is how the birth of Jesus the Messiah came abouta: 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.119
Because Joseph her husband was a righteous man and did not want to expose her to public disgrace, he had in mind to divorce2 her quietly.
But after he had considered this, an angel3 of the Lord appeared to him in a dream4 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.
She will give birth to a son, and you are to give him the name Jesus,b5 because he will save his people from their sins."622
All this took place to fulfill7 what the Lord had said through the prophet:
"The virgin will conceive and give birth to a son, and they will call him Immanuel"c8 (which means "God with us").
When Joseph woke up, he did what the angel9 of the Lord had commanded him and took Mary home as his wife.
But he had no union with her until she gave birth to a son. And he gave him the name Jesus.10