15 Joshua and all Israel let themselves be driven back before them, and they fled toward the wilderness.

Read Joshua 8:15 Using Other Translations

And Joshua and all Israel made as if they were beaten before them, and fled by the way of the wilderness.
And Joshua and all Israel pretended to be beaten before them and fled in the direction of the wilderness.
Joshua and the Israelite army fled toward the wilderness as though they were badly beaten.