The Philistines gathered their armies for war. They met at Socoh in Judah. Their camp was at Ephes Dammim between Socoh and Azekah.