Joshua 11:23 CEB

23 So Joshua took the whole land, exactly as the LORD had promised Moses. Joshua gave it as a legacy to Israel according to their tribal shares. Then the land had a rest from war.