So Yahweh's anger was kindled against Israel. He made them wander around in the wilderness for forty years until all the generation who had done evil in his sight was destroyed.