And who was God angry with for 40 years? He was angry with those who sinned. And their dead bodies were left in the desert.