Matthew 1:4-6

4 Ram was the father of Aminadab, Aminadab the father of Nahshon, and Nahshon the father of Salmon.

5 Salmon was the father of Boaz by[6] Rahab, Boaz was the father of Obed by Ruth, and Obed the father of Jesse.

6 Jesse was the father of[7] David the king. David was the father of Solomon by[8] Bathsheba who had been the wife of Uriah.