1 Corinthians 10:5

But with most of them God was not well pleased; for they were laid low in the Desert.

Hebrews 3:16-19

For who were they that heard, and yet provoked God? Was it not the whole of the people who had come out of Egypt under the leadership of Moses?

Treasury of Scripture Knowledge

Summary

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.

Bible References

Until all

1 Corinthians 10:5
But with most of them God was not well pleased; for they were laid low in the Desert.
Hebrews 3:16
For who were they that heard, and yet provoked God? Was it not the whole of the people who had come out of Egypt under the leadership of Moses?