When the territory of the descendants of Dan slipped out of their control, they went up and fought against Leshem, captured it, and struck it down with the sword. So they took possession of it, lived there, and renamed Leshem after their ancestor Dan.
In those days, there was no king in Israel, and the Danite tribe was looking for territory to occupy. Up to that time no territory had been captured by them among the tribes of Israel.
Naphtali did not drive out the residents of Beth-shemesh or the residents of Beth-anath. They lived among the Canaanites who were living in the land, but the residents of Beth-shemesh and Beth-anath served as their forced labour.
The Amorites were determined to stay in Har-heres, Aijalon, and Shaalbim. When the house of Joseph got the upper hand, the Amorites were made to serve as forced labour.