2 Samuel 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.
2 Samuel 15:16
So the king and all the members of his royal court set out on foot, though the king left behind ten concubines to attend to the palace.
2 Samuel 16:21-22
Ahithophel replied to Absalom, "Have sex with your father's concubines whom he left to care for the palace. All Israel will hear that you have made yourself repulsive to your father. Then your followers will be motivated to support you."
Genesis 40:3
so he imprisoned them in the house of the captain of the guard in the same facility where Joseph was confined.