At the same time the Philistines had attacked towns in the western hills and in the Negev Desert of Judah. They had captured Beth Shemesh, Aijalon and Gederoth. They had also captured Soko, Timnah and Gimzo and the villages around them. They had settled down in all of them.