The Lord became angry with the Israelites and made them wander in the desert for forty years until the entire generation had died, which had done evil in the Lord’s eyes.