So Joshua  took   the whole land, according to all that the LORD  said   unto Moses ; and Joshua  gave   it for an inheritance  unto Israel  according to their divisions  by their tribes. And the land  rested   from war.