This happened because they did not obey the Lord their God. They broke his agreement and did not obey all that Moses, the Lord’s servant, had commanded. They would not listen to the commands or do them.