And the men of Israel and of Judah arose
 From their encampment and entrenchment, or they prepared for a pursuit: 
 and shouted, and pursued the Philistines;
 shouted when they first set out, and continued shouting as they pursued, to animate their own troops, and terrify the enemy: 
 until thou come to the valley, and to the gates of Ekron;
 which was one of the five principalities of the Philistines; so that they pursued them to their own cities, and to the very gates of them: 
 and the wounded of the Philistines fell down by the way to Shaaraim;
 a city in the tribe of Judah, and seems to be the same with Sharaim, (See Gill on Joshua 15:36). Josephus says F14, there were killed of the Philistines thirty thousand, and twice as many wounded: 
 even unto Gath, and unto Ekron;
 Josephus F15 has it, to the borders of Gath, and to the gates of Ashkelon, which were two other principalities of the Philistines; according to Bunting F16, the whole chase was this, to the valley and river Sorek four miles; from thence to Ekron eight miles; to Ashkelon twenty miles, and to Gath twenty four miles; that is, from the place where Goliath was killed.