David left ten of his concubines in Jerusalem to take care of his palace. When he returned, he had them taken to another house. He placed soldiers there to guard them. He gave them what they needed. He never slept with any of them again. They had to live there for the rest of their lives as if they were widows.