2 Samuel 12:11

12:11 This is what the Lord says: ‘I am about to bring disaster on you from inside your own household! Right before your eyes I will take your wives and hand them over to your companion. He will have sexual relations with your wives in broad daylight!

2 Samuel 20:3

20:3 Then David went to his palace in Jerusalem. The king took the ten concubines he had left to care for the palace and placed them under confinement. Though he provided for their needs, he did not have sexual relations with them. They remained in confinement until the day they died, living out the rest of their lives as widows.