Numbers 32:13

and the anger of Jehovah burneth against Israel, and He causeth them to wander in the wilderness forty years, until the consumption of all the generation which is doing the evil thing in the eyes of Jehovah.

Numbers 14:33-35

and your sons are evil in the wilderness forty years, and have borne your whoredoms till your carcases are consumed in the wilderness;

Numbers 26:64-65

and among these there hath not been a man of those numbered by Moses, and Aaron the priest, who numbered the sons of Israel in the wilderness of Sinai,

Deuteronomy 2:14-15

And the days which we have walked from Kadesh-Barnea until that we have passed over the brook Zered, are thirty and eight years, till the consumption of all the generation of the men of battle from the midst of the camp, as Jehovah hath sworn to them;

Psalm 78:33

And He consumeth in vanity their days, And their years in trouble.

1 Corinthians 10:5

but in the most of them God was not well pleased, for they were strewn in the wilderness,

Hebrews 3:16-19

for certain having heard did provoke, but not all who did come out of Egypt through 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

Wander

Numbers 14:33
and your sons are evil in the wilderness forty years, and have borne your whoredoms till your carcases are consumed in the wilderness;
Deuteronomy 2:14
And the days which we have walked from Kadesh-Barnea until that we have passed over the brook Zered, are thirty and eight years, till the consumption of all the generation of the men of battle from the midst of the camp, as Jehovah hath sworn to them;
Psalm 78:33
And He consumeth in vanity their days, And their years in trouble.

Until all

Numbers 26:64
and among these there hath not been a man of those numbered by Moses, and Aaron the priest, who numbered the sons of Israel in the wilderness of Sinai,
Deuteronomy 2:15
and also the hand of Jehovah hath been against them, to destroy them from the midst of the camp, till they are consumed.
1 Corinthians 10:5
but in the most of them God was not well pleased, for they were strewn in the wilderness,
Hebrews 3:16
for certain having heard did provoke, but not all who did come out of Egypt through Moses;