The anger of Adonai burned against Israel and He caused them to wander in the wilderness 40 years until all the generation doing that evil in Adonai’s sight was gone.