2 Samuel 20:3

And when the king had entered his house at Jerusalem, he took the ten women concubines, whom he had left behind to care for the house, and he put them into custody, allowing them provisions. But he did not enter to them. Instead, they were enclosed, even until the day of their deaths, living as widows

Other versions

King James Version

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 fed them, but went not in unto them. So they were shut up unto the day of their death, living in widowhood.

English Standard Version

And David came to his house at Jerusalem. And the king took the ten concubines whom he had left to care for the house and put them in a house under guard and provided for them, but did not go in to them. So they were shut up until the day of their death, living as if in widowhood.

New International Version

When David returned to his palace in Jerusalem, he took the ten concubines he had left to take care of the palace and put them in a house under guard. He provided for them, but did not lie with them. They were kept in confinement till the day of their death, living as widows.