The Philistines gathered their army to fight the Israeli army. They gathered together near Socoh, in the area where the descendants of Judah lived. They set up their tents at Ephes-Dammim, which is between Socoh and Azekah.