The survivors fled into the city of Aphek, where the wall collapsed on twenty-seven thousand of them. Ben-hadad, too, fled, and took refuge within the city, in an inner room.
You shall say, Thus says the Lord God to Jerusalem: By origin and birth you belong to the land of the Canaanites; your father was an Amorite, your mother a Hittite.
Joshua conquered the entire land; the mountain regions, the Negeb, the Shephelah, and the mountain slopes, with all their kings. He left no survivors, but put under the ban every living being, just as the Lord, the God of Israel, had commanded.
These were Canaanites to the east and west, Amorites, Hittites, Perizzites, and Jebusites in the mountain regions, and Hivites at the foot of Hermon in the land of Mizpah.
At that time, the Philistines gathered for an attack on Israel. Israel went out to engage them in battle and camped at Ebenezer, while the Philistines camped at Aphek.