This is how the birth of Jesus Christ came about: His mother Mary was pledged in marriage to Joseph, but before they came together, she was found to be with child through the Holy Spirit.
Because Joseph her husband was a righteous man and was unwilling to disgrace her publicly, he resolved to divorce her quietly.
But after he had pondered these things, an angel of the Lord appeared to him in a dream and said, “Joseph, son of David, do not be afraid to embrace Mary as your wife, for the One conceived in her is from the Holy Spirit.
She will give birth to a Son, and you are to give Him the name Jesus, because He will save His people from their sins.”
All this took place to fulfill what the Lord had said through the prophet:
. . .
And she gave birth to her firstborn, a Son. She wrapped Him in swaddling cloths and laid Him in a manger, because there was no room for them in the inn.
The angel replied, “The Holy Spirit will come upon you, and the power of the Most High will overshadow you. So the Holy One to be born will be called the Son of God.
When the angels had left them and gone into heaven, the shepherds said to one another, “Let us go to Bethlehem and see this thing that has happened, which the Lord has made known to us.”
But you, Bethlehem Ephrathah, who are small among the clans of Judah, out of you will come forth for Me One to be ruler over Israel—One whose origins are of old, from the days of eternity.
But when the time had fully come, God sent His Son, born of a woman, born under the law,
to redeem those under the law, that we might receive our adoption as sons.
Then Mary said: “My soul magnifies the Lord,
and my spirit rejoices in God my Savior!
For He has looked with favor on the humble state of His servant. From now on all generations will call me blessed.
For the Mighty One has done great things for me. Holy is His name.
Now in those days a decree went out from Caesar Augustus that a census should be taken of the whole empire.
This was the first census to take place while Quirinius was governor of Syria.
And everyone went to his own town to register.
So Joseph also went up from Nazareth in Galilee to Judea, to the city of David called Bethlehem, since he was from the house and line of David.
He went there to register with Mary, who was pledged to him in marriage and was expecting a child.
. . .
For unto us a child is born, unto us a son is given, and the government will be upon His shoulders. And He will be called Wonderful Counselor, Mighty God, Everlasting Father, Prince of Peace.
For God so loved the world that He gave His one and only Son, that everyone who believes in Him shall not perish but have eternal life.
For God did not send His Son into the world to condemn the world, but to save the world through Him.
The Word became flesh and made His dwelling among us. We have seen His glory, the glory of the one and only Son from the Father, full of grace and truth.
On coming to the house, they saw the Child with His mother Mary, and they fell down and worshiped Him. Then they opened their treasures and presented Him with gifts of gold and frankincense and myrrh.