Matthew Henry's Complete Bible Commentary
Verses 40—48
Dan, though commander of one of the four squadrons of the camp of Israel, in the wilderness, that which brought up the rear, yet was last provided for in Canaan, and his lot fell in the southern part of Canaan, between Judah on the east and the land of the Philistines on the west, Ephraim on the north and Simeon on the south. Providence ordered this numerous and powerful tribe into a post of danger, as best able to deal with those vexatious neighbours the Philistines, and so it was found in Samson. Here is an account, 1. Of what fell to this tribe by lot, Zorah, and Eshtaol, and the camp of Dan thereabouts, of which we read in the story of Samson. And near there was the valley of Eshcol, whence the spies brought the famous bunch of grapes. Japho, or Joppa was in this lot. 2. Of what they got by their own industry and valour, which is mentioned here (Joshua 19:47), but related at large, Judges 18:7-18:31 MHBCC 207.9