#Why did Solomon bring the daughter of Pharaoh out of the city of David to a house he had built for her?

Solomon brought the daughter of Pharaoh out of the city of David to a house, because the ark of Yahweh was in the city and so it was a holy place. [8:11]