Your standards are obviously different from God’s standards. God’s favorite King, David, seduced the wife of one of his officers, brought the officer back from the battlefield to sleep with his wife to coverup the cuckolding, and when the officer wouldn’t do that, made the officer carry his own death warrant back to the battle, resulting in the officer being placed such that he would be killed. Now David got a really screwed up family life as the result of this, but his adulterous wife was in the linage of Jesus.
** Now David got a really screwed up family life as the result of this, but his adulterous wife was in the linage of Jesus.**
Yes, legally through his adoptive father, Joseph. Through his physical birth, Mary was a decendent of David’s son Nathan.
But yes, from David on back they share the same checkered ancestors. And of course, all of them sinners.