Matthew 1 6
And Jesse begat David the king; and David the king begat Solomon of her that had been the wife of Urias;
Compare with other 3 random translations
NAS Matthew 1:6Jesse fathered David the king. David fathered Solomon by her who had been the wife of Uriah.
AMP Matthew 1:6Jesse was the father of David the king. David was the father of Solomon by Bathsheba who had been the wife of Uriah.
NCV Matthew 1:6Jesse was the father of King David. David was the father of Solomon. (Solomon’s mother had been Uriah’s wife.)