Well, what of it? If we are going to use the Torah and the B'rit Chadashah as sacred scripture then it implores us to believe that Yeshua was descended from King David via Ruth, and Lot....Here is a pretty good overview of it, I think:
Sordid Lineage, Beautiful Legacy | Desiring God
Jesus is unashamed to have women of questionable repute in his family. In fact, he actually goes out of his way to point them out. In Jesus’ genealogy listed in Matthew chapter one, only fathers and sons are recorded, with five notable exceptions where mothers are also named.
Both Ruth and Rahab make the list (
Matt 1:5). So does Tamar (
Matt. 1:3), who entered the royal bloodline by disguising herself as a harlot and seducing Judah to impregnate her (because of the unjust way he treated her—see
Gen. 38). Bathsheba, whom David stole from Uriah, gets mentioned (
Matt 1:6). And so does Mary, Jesus’ own mother, who became pregnant with Jesus outside of marriage, and whose claim to miraculous conception was received by most with…um… skepticism (
Matt 1:16).
Isn’t that wonderful? People tend to conceal the more disgraceful events and people in their family. But not Jesus. He chooses to highlight possibly the five most scandalous women in his lineage.
God weaves his grace throughout the Bible—even through the genealogies! God loves to redeem sinners. He loves to produce something beautiful out of sordid family backgrounds. He loves to make foreigners his children and reconcile his enemies. He loves to make all things work together for good for those who love him and are called according to his purpose (
Rom. 8:28).
Each of these women, who entered redemptive history during the Old Covenant era, are beautiful illustrations of what God would later say to Peter when clarifying that his grace is extended to all peoples: “What God has made clean, do not call common” (
Acts 10:15). That is amazingly good news to commoners, foreigners, and sinners like us.