What is very interesting is that Ruth is a gentile - a Moabite. So the Davidic line is linked to the gentiles.
Indeed. Of further interest is that the Moabites themselves were generated by Lot’s daughter’s union with Lot, Abraham’s nephew. And Rahab the former Jericho harlot was Boaz’s mother. David had quite a family tree.