(The king of Egypt had attacked Gezer and captured it, killing its inhabitants and setting fire to the city. Then he gave it as a wedding present to his daughter when she married Solomon,