While they were there, the time came for her to deliver her child. And she gave birth to her firstborn son and wrapped him in bands of cloth, and laid him in a manger, because there was no place for them in the inn.
Joseph also went from the town of Nazareth in Galilee to Judea, to the city of David called Bethlehem, because he was descended from the house and family of David. He went to be registered with Mary, to whom he was engaged and who was expecting a child.
All this took place to fulfill what had been spoken by the Lord through the prophet: "Look, the virgin shall conceive and bear a son, and they shall name him Emmanuel," which means, "God is with us."
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.