2 Samuel 11:27

Amplified Bible (AMP)
And when the time of mourning was past, David sent word and had her brought to his house, and she became his wife and bore him a son. But the thing that David had done [with Bathsheba] was evil in the sight of the Lord.

Read 2 Samuel 11:27 in other translations