Matt 1:3-6

3and Judah the father of Perez and Zerah by Tamar, and Perez the father of Hezron, and Hezron the father of Aram,4and Aram the father of Aminadab, and Aminadab the father of Nahshon, and Nahshon the father of Salmon,5and Salmon the father of Boaz by Rahab, and Boaz the father of Obed by Ruth, and Obed the father of Jesse,6and Jesse the father of King David. And David was the father of Solomon by the wife of Uriah,