3 David came to his house at Jerusalem; and the king took the ten women his concubines, whom he had left to keep the house, and put them in custody, and provided them with sustenance, but didn’t go in to them. So they were shut up to the day of their death, living in widowhood.
2 Samuel 20:3 Cross References - WEB
Genesis 40:3
3 He put them in custody in the house of the captain of the guard, into the prison, the place where Joseph was bound.
2 Samuel 15:16
16 The king went out, and all his household after him. The king left ten women, who were concubines, to keep the house.
2 Samuel 16:21-22
21 Ahithophel said to Absalom, “Go in to your father’s concubines that he has left to keep the house. Then all Israel will hear that you are abhorred by your father. Then the hands of all who are with you will be strong.”
22 So they spread a tent for Absalom on the top of the house, and Absalom went in to his father’s concubines in the sight of all Israel.