The Philistines had also raided the cities of the foothills and the Negev of Judah, capturing and occupying Beth-shemesh, Aijalon, and Gederoth, as well as Soco, Timnah, and Gimzo with their villages.