And Jesse begat David the king; and David the king begat Solomon of her that had been the wife of Uriah;
All Commentaries on Matthew 1:6 Go To Matthew 1
Theophylact of Ochrid
Again, he mentions Uriah’s wife to show that no one should be ashamed of his forefathers but rather should strive by his own virtue to make even them illustrious. He also mentions Uriah’s wife to show that all are acceptable to God, even those born of adultery, if only they have virtue.