The record of the genealogy of Jesus the Messiah, the son of David, the son of Abraham:
Abraham was the father of Isaac, Isaac the father of Jacob, and Jacob the father of Judah and his brothers.
Judah was the father of Perez and Zerah by Tamar, Perez was the father of Hezron, and Hezron the father of Ram.
Ram was the father of Amminadab, Amminadab the father of Nahshon, and Nahshon the father of Salmon.
Salmon was the father of Boaz by Rahab, Boaz was the father of Obed by Ruth, and Obed the father of Jesse.
Jesse was the father of David the king. David was the father of Solomon by Bathsheba who had been the wife of Uriah.
Solomon was the father of Rehoboam, Rehoboam the father of Abijah, and Abijah the father of Asa.
Asa was the father of Jehoshaphat, Jehoshaphat the father of Joram, and Joram the father of Uzziah.
Uzziah was the father of Jotham, Jotham the father of Ahaz, and Ahaz the father of Hezekiah.
Hezekiah was the father of Manasseh, Manasseh the father of Amon, and Amon the father of Josiah.
Josiah became the father of Jeconiah and his brothers, at the time of the deportation to Babylon.
After the deportation to Babylon: Jeconiah became the father of Shealtiel, and Shealtiel the father of Zerubbabel.
Zerubbabel was the father of Abihud, Abihud the father of Eliakim, and Eliakim the father of Azor.
Azor was the father of Zadok, Zadok the father of Achim, and Achim the father of Eliud.
Eliud was the father of Eleazar, Eleazar the father of Matthan, and Matthan the father of Jacob.
Jacob was the father of Joseph the husband of Mary, by whom Jesus was born, who is called the Messiah.
So all the generations from Abraham to David are fourteen generations; from David to the deportation to Babylon, fourteen generations; and from the deportation to Babylon to the Messiah, fourteen generations.
Now the birth of Jesus Christ was as follows: when His mother Mary had been betrothed to Joseph, before they came together she was found to be with child by the Holy Spirit.
And Joseph her husband, being a righteous man and not wanting to disgrace her, planned to send her away secretly.
But when he had considered this, behold, an angel of the Lord appeared to him in a dream, saying, "Joseph, son of David, do not be afraid to take Mary as your wife; for the Child who has been conceived in her is of the Holy Spirit.
"She will bear a Son; and you shall call His name Jesus, for He will save His people from their sins."
Now all this took place to fulfill what was spoken by the Lord through the prophet:
"BEHOLD, THE VIRGIN SHALL BE WITH CHILD AND SHALL BEAR A SON, AND THEY SHALL CALL HIS NAME IMMANUEL," which translated means, "GOD WITH US."
And Joseph awoke from his sleep and did as the angel of the Lord commanded him, and took Mary as his wife,
but kept her a virgin until she gave birth to a Son; and he called His name Jesus.
Now after Jesus was born in Bethlehem of Judea in the days of Herod the king, magi from the east arrived in Jerusalem, saying,
"Where is He who has been born King of the Jews? For we saw His star in the east and have come to worship Him."
When Herod the king heard this, he was troubled, and all Jerusalem with him.
Gathering together all the chief priests and scribes of the people, he inquired of them where the Messiah was to be born.
They said to him, "In Bethlehem of Judea; for this is what has been written by the prophet:
'AND YOU, BETHLEHEM, LAND OF JUDAH, ARE BY NO MEANS LEAST AMONG THE LEADERS OF JUDAH; FOR OUT OF YOU SHALL COME FORTH A RULER WHO WILL SHEPHERD MY PEOPLE ISRAEL.' "
Then Herod secretly called the magi and determined from them the exact time the star appeared.
And he sent them to Bethlehem and said, "Go and search carefully for the Child; and when you have found Him, report to me, so that I too may come and worship Him."
After hearing the king, they went their way; and the star, which they had seen in the east, went on before them until it came and stood over the place where the Child was.
When they saw the star, they rejoiced exceedingly with great joy.
After coming into the house they saw the Child with Mary His mother; and they fell to the ground and worshiped Him. Then, opening their treasures, they presented to Him gifts of gold, frankincense, and myrrh.
And having been warned by God in a dream not to return to Herod, the magi left for their own country by another way.
Now when they had gone, behold, an angel of the Lord appeared to Joseph in a dream and said, "Get up! Take the Child and His mother and flee to Egypt, and remain there until I tell you; for Herod is going to search for the Child to destroy Him."
So Joseph got up and took the Child and His mother while it was still night, and left for Egypt.
He remained there until the death of Herod. This was to fulfill what had been spoken by the Lord through the prophet: "OUT OF EGYPT I CALLED MY SON."
Then when Herod saw that he had been tricked by the magi, he became very enraged, and sent and slew all the male children who were in Bethlehem and all its vicinity, from two years old and under, according to the time which he had determined from the magi.
Then what had been spoken through Jeremiah the prophet was fulfilled:
"A VOICE WAS HEARD IN RAMAH, WEEPING AND GREAT MOURNING, RACHEL WEEPING FOR HER CHILDREN; AND SHE REFUSED TO BE COMFORTED, BECAUSE THEY WERE NO MORE."
But when Herod died, behold, an angel of the Lord appeared in a dream to Joseph in Egypt, and said,
"Get up, take the Child and His mother, and go into the land of Israel; for those who sought the Child's life are dead."
So Joseph got up, took the Child and His mother, and came into the land of Israel.
But when he heard that Archelaus was reigning over Judea in place of his father Herod, he was afraid to go there. Then after being warned by God in a dream, he left for the regions of Galilee,
and came and lived in a city called Nazareth. This was to fulfill what was spoken through the prophets: "He shall be called a Nazarene."