And whom was God angry with for 40 years? He was angry with those who sinned, who died in the desert.