Solomon made a marriage alliance with Pharaoh of Egypt. He married Pharaoh's daughter and brought her to live in the City of David until he finished building his palace, the Lord's Temple, and the walls surrounding Jerusalem.
Read & study FBV 3:1And Solomon made affinity with Pharaoh king of Egypt, and took Pharaoh’s daughter, and brought her into the city of David, until he had made an end of building his own house, and the house of Jehovah, and the wall of Jerusalem round about.
Read & study ASV 3:1