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.
Read & study T4T 17:1Now the Philistines gathered together their armies to battle; and they were gathered together at Socoh, which belongeth to Judah, and encamped between Socoh and Azekah, in Ephes-dammim.
Read & study ASV 17:1