2 Abraham was the father of Isaac, Isaac the father of Jacob, Jacob the father of Judah and his brothers, 3 Judah the father of Perez and Zerah, whose mother was Tamar, Perez the father of Hezron, Hezron the father of Ram, 4 Ram the father of Amminadab, Amminadab the father of Nahshon, Nahshon the father of Salmon, 5 Salmon the father of Boaz, whose mother was Rahab, Boaz the father of Obed, whose mother was Ruth, Obed the father of Jesse, 6 and Jesse the father of King David. David was the father of Solomon, whose mother had been Uriah's wife, 7 Solomon the father of Rehoboam, Rehoboam the father of Abijah, Abijah the father of Asa, 8 Asa the father of Jehoshaphat, Jehoshaphat the father of Jehoram, Jehoram the father of Uzziah, 9 Uzziah the father of Jotham, Jotham the father of Ahaz, Ahaz the father of Hezekiah, 10 Hezekiah the father of Manasseh, Manasseh the father of Amon, Amon the father of Josiah, 11 and Josiah the father of Jeconiah[1] and his brothers at the time of the exile to Babylon. 12 After the exile to Babylon: Jeconiah was the father of Shealtiel, Shealtiel the father of Zerubbabel, 13 Zerubbabel the father of Abihud, Abihud the father of Eliakim, Eliakim the father of Azor, 14 Azor the father of Zadok, Zadok the father of Akim, Akim the father of Elihud, 15 Elihud the father of Eleazar, Eleazar the father of Matthan, Matthan the father of Jacob, 16 and Jacob the father of Joseph, the husband of Mary, and Mary was the mother of Jesus who is called the Messiah.

Matthew Henry's Commentary on Matthew 1:2-16

Commentary on Matthew 1:1-17

(Read Matthew 1:1-17)

Concerning this genealogy of our Saviour, observe the chief intention. It is not a needless genealogy. It is not a vain-glorious one, as those of great men often are. It proves that our Lord Jesus is of the nation and family out of which the Messiah was to arise. The promise of the blessing was made to Abraham and his seed; of the dominion, to David and his seed. It was promised to Abraham that Christ should descend from him, 2 Samuel 7:12; Psalm 89:3, & c.; 132:11; and, therefore, unless Jesus is a son of David, and a son of Abraham, he is not the Messiah. Now this is here proved from well-known records. When the Son of God was pleased to take our nature, he came near to us, in our fallen, wretched condition; but he was perfectly free from sin: and while we read the names in his genealogy, we should not forget how low the Lord of glory stooped to save the human race.