We are told many times in the time of the Exodus that Israel angered God. Here we read that Israel did evil in the sight of the LORD.
And the LORD'S anger was kindled against Israel, and he made them wander in the wilderness forty years, until all the generation, that had done evil in the sight of the LORD, was consumed.
This was not a one time occurrence. See Numbers 32:13; Deuteronomy 4:25, 31:29; Judges 2:11, 3:7, 3:12, 4:1, 6:1, 10:6, 13:1. We also see that the anger of the LORD was kindled.
And when the people complained, it displeased the LORD: and the LORD heard it; and his anger was kindled; and the fire of the LORD burnt among them, and consumed them that were in the uttermost parts of the camp.
We can read of other times where the Lord's anger was kindled are in Numbers 11:10, 12:9, 22:22, 25:3, 32:13; Deuteronomy 7:4, 29:27; Joshua 7:1, 23:16.
The LORD was with them every day. When they were in trouble, they called out to God. God had compassion on them and delivered them. They initially praised God but after a short time, they turned away. This cycle continued many times.
Are we any better than Israel? We look back at Israel and say if we were among them we would never be like they were. We would always follow God, or would we? How many times have we called out to God in our times of trouble and God has delivered us. We say we will never turn away again, but when things get better, we soon forget. We go on in life living in the good times, forgetting that it is the blessing of God.
We cannot let this happen. We must stay focused on God in both the bad times AND the good times.