Matthew 1:6-9 New King James Version (NKJV)
6 and Jesse begot David the king.
David the king begot Solomon by her [a]who had been the wife of Uriah. 7 Solomon begot Rehoboam, Rehoboam begot Abijah, and Abijah begot [b]Asa. 8 Asa begot Jehoshaphat, Jehoshaphat begot Joram, and Joram begot Uzziah. 9 Uzziah begot Jotham, Jotham begot Ahaz, and Ahaz begot Hezekiah.