1 Corinthians 10:5

But in 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 him? Was it not all who came 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 in 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 him? Was it not all who came out of Egypt under the leadership of Moses?