(Pharaoh king of Egypt had gone up and captured Gezer and burned it down, had killed the Canaanites who lived in the city, and had given it as dowry to his daughter, Solomon's wife;
Solomon made a marriage alliance with Pharaoh king of Egypt; he took Pharaoh's daughter and brought her into the city of David, until he had finished building his own house and the house of the Lord and the wall around Jerusalem.
His own house where he would reside, in the other court back of the hall, was of the same construction. Solomon also made a house like this hall for Pharaoh's daughter, whom he had taken in marriage.
They did not, however, drive out the Canaanites who lived in Gezer: so the Canaanites have lived within Ephraim to this day but have been made to do forced labor.