“King Solomon brought Pharaoh’s daughter from the city of David to the house which he had built for her. He said. ‘My wife shall not live in the house of King David of Israel, for the places to which the ark of the Yahweh has come are holy.’”
This is almost word for word from 1 Kings, chapter 9. However, it does not have the details about building the Millo. Apparently Pharaoh’s daughter, King Solomon’s wife, had her own house that King Solomon built for her. Here the explanation is that the Ark of the Covenant had been in the house of King David. Therefore it was too holy for the Pharaoh’s daughter to live in. The Pharaoh of Egypt has become the new friend of Israel. I had thought that the Israelites were not to marry non-Israelites. However, many of the major Hebrew figures did marry outside the Hebrew tribes, especially Moses and now King Solomon. King David might have also had Egyptian women with all his different wives. This is a completely different view of Egypt than that of Moses about 500 years earlier. Friends and enemies come and go over the course of time.