Matthew 1:6

1:6 and Jesse the father of David the king.

David was the father of Solomon (by the wife of Uriah),

Matthew 1:24

1:24 When Joseph awoke from sleep he did what the angel of the Lord told him. He took his wife,

Matthew 19:9

19:9 Now I say to you that whoever divorces his wife, except for immorality, and marries another commits adultery.”

Matthew 22:28

22:28 In the resurrection, therefore, whose wife of the seven will she be? For they all had married her.”