2 Samuel 20:3

3And David came to his house at Jerusalem. And the king took a  the ten concubines whom he had left to care for the house and put them in a house under guard and provided for them, but did not go in to them. So they were shut up until the day of their death, living as if in widowhood.

Copyright information for ESV