Pharaoh king of Egypt had attacked and captured Gezer. He had set it on fire, killed the Canaanites who lived in the city, and given it as a dowry to his daughter, Solomon&#8217;s wife.