The Sages teach that after the Sin of the Spies God decreed that all men between the ages of twenty and sixty were to die in the wilderness. They died once a year on the anniversary of the spies' return and all the men would dig their own graves get in them and go to sleep that night. In the morning many of them would not wake up as they had died in their sleep. This continued until the final year in the wilderness when everyone woke up the next morning which heralded the end of the decree.