2 Samuel 20:3

3 When David came to his palace in Jerusalem, he took the ten concubines he had left to look after the palace and put them in a house under guard. He provided for them but no longer slept with them. So they lived like widows in confinement until they died.