Pharaoh king of Egypt had gone up, captured Gezer, burned it with fire, killed the Canaanites who dwelt in the city, and given it as a dowry for his daughter, Solomon’s wife.
Then Solomon made an alliance with Pharaoh king of Egypt by marriage, taking Pharaoh’s daughter, and bringing her to the city of David, until he finished building his own house, the House of Adonai, and the wall around Jerusalem.
His house where he would dwell, set farther back of the hall, was of the same construction. He also made a house like this hall for Pharaoh’s daughter, whom Solomon had taken to wife.
But they did not drive out the Canaanites that were living in Gezer, so the Canaanites continued to live in the midst of Ephraim to this day, and became forced laborers.