Matthew 1:4-8

1:4 Ram the father of Amminadab, Amminadab the father of Nahshon, Nahshon the father of Salmon, 1:5 Salmon the father of Boaz (by Rahab), Boaz the father of Obed (by Ruth), Obed the father of Jesse, 1:6 and Jesse the father of David the king.

David was the father of Solomon (by the wife of Uriah), 1:7 Solomon the father of Rehoboam, Rehoboam the father of Abijah, Abijah the father of Asa, 1:8 Asa the father of Jehoshaphat, Jehoshaphat the father of Joram, Joram the father of Uzziah,