2 Samuel 20:2-4

2 So all the men of Israel went up from following David, and followed Sheba the son of Bichri, but the men of Judah clung to their king, from the Jordan even to Jerusalem.

3 And 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 ward, and provided them with sustenance, but did not go in to them. So they were shut up to the day of their death, living in widowhood.

4 Then the king said to Amasa, Call the men of Judah together to me within three days, and be thou here present.