The Philistines had raided the foothills and the Negev in Judah. They captured and began living in Beth Shemesh, Aijalon, Gederoth, Soco and its villages, Timnah and its villages, and Gimzo and its villages.