2 Samuel 20:2-4

2 So all the men of Israel went up from after David [and] followed Sheba, the son of Bichri; but the men of Judah cleaved unto their king from the Jordan even to Jerusalem.

3 And [when] David came to his house at Jerusalem, the king took the ten women, [his] concubines, whom he had left to keep the house, and put them in ward and fed them, but did not go in unto them. So they were shut up unto the day of their death, living in widowhood.

4 Then the king said to Amasa, Assemble me the men of Judah for the third day, and be thou here present.