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.
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; They will name him Immanuel (Hebrew for “God is with us”).
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.
After Jesus was born in Bethlehem village, Judah territory— this was during Herod’s kingship—a band of scholars arrived in Jerusalem from the East. They asked around, “Where can we find and pay homage to the newborn King of the Jews? We observed a star in the eastern sky that signaled his birth. We’re on pilgrimage to worship him.”
When word of their inquiry got to Herod, he was terrified — and not Herod alone, but most of Jerusalem as well. Herod lost no time. He gathered all the high priests and religion scholars in the city together and asked, “Where is the Messiah supposed to be born?”
They told him, “Bethlehem, Judah territory. The prophet Micah wrote it plainly: It’s you, Bethlehem, in Judah’s land, no longer bringing up the rear. From you will come the leader who will shepherd and rule my people, my Israel.”
Herod then arranged a secret meeting with the scholars from the East. Pretending to be as devout as they were, he got them to tell him exactly when the birth-announcement star appeared. Then he told them the prophecy about Bethlehem, and said, “Go find this child. Leave no stone unturned. As soon as you find him, send word and I’ll join you at once in your worship.”
Instructed by the king, they set off. Then the star appeared again, the same star they had seen in the eastern skies. It led them on until it hovered over the place of the child. They could hardly contain themselves: They were in the right place! They had arrived at the right time!
They entered the house and saw the child in the arms of Mary, his mother. Overcome, they kneeled and worshiped him. Then they opened their luggage and presented gifts: gold, frankincense, myrrh.
In a dream, they were warned not to report back to Herod. So they worked out another route, left the territory without being seen, and returned to their own country.
After the scholars were gone, God’s angel showed up again in Joseph’s dream and commanded, “Get up. Take the child and his mother and flee to Egypt. Stay until further notice. Herod is on the hunt for this child, and wants to kill him.”
Joseph obeyed. He got up, took the child and his mother under cover of darkness. They were out of town and well on their way by daylight. They lived in Egypt until Herod’s death. This Egyptian exile fulfilled what Hosea had preached: “I called my son out of Egypt.”
Matthew 1:18-2:15 (The Message)