David marries Bathsheba
Bathsheba mourned for her husband. Then David married her and she had a son.
Key passages
2 Sa 11:26–27

When the wife of Uriah heard that Uriah her husband was dead, she mourned over her husband. When the mourning was over, David sent and brought her to his household, and she became his wife and bore him a son. But the thing which David had done was evil in the eyes of Yahweh.

See also