When the time of mourning was over, David sent for her and brought her to his house, and she became his wife and bore him a son. But what David had done was evil in the eyes of Yahweh.
In context
25David said to the messenger, “Tell Joab this: Don’t let this matter upset you, for the sword devours one as easily as another. Press the attack harder against the city and destroy it. Say this to encourage him.” 26When Uriah’s wife heard that her husband Uriah was dead, she mourned for him. 27When the time of mourning was over, David sent for her and brought her to his house, and she became his wife and bore him a son. But what David had done was evil in the eyes of Yahweh.