The Philistine armies gathered for battle at Socoh in Judah. They set up camp between Socoh and Azekah in Ephes-dammim.
Read & study FBV 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