Numbers 14:29-39

29 The carcasses of you who have complained against Me shall fall in this wilderness, all of you who were numbered, according to your entire number, from twenty years old and above.
30 Except for Caleb the son of Jephunneh and Joshua the son of Nun, you shall by no means enter the land which I swore I would make you dwell in.
31 But your little ones, whom you said would be victims, I will bring in, and they shall know the land which you have despised.
32 But as for you, your carcasses shall fall in this wilderness.
33 And your sons shall be shepherds in the wilderness forty years, and bear the brunt of your infidelity, until your carcasses are consumed in the wilderness.
34 According to the number of the days in which you spied out the land, forty days, for each day you shall bear your guilt one year, namely forty years, and you shall know My rejection.
35 I the Lord have spoken this; I will surely do so to all this evil congregation who are gathered together against Me. In this wilderness they shall be consumed, and there they shall die.' "
36 Now the men whom Moses sent to spy out the land, who returned and made all the congregation complain against him by bringing a bad report of the land,
37 those very men who brought the evil report about the land, died by the plague before the Lord.
38 But Joshua the son of Nun and Caleb the son of Jephunneh remained alive, of the men who went to spy out the land.
39 Then Moses told these words to all the children of Israel, and the people mourned greatly.
Scripture taken from the New King James Version. Copyright © 1982 by Thomas Nelson, Inc. Used by permission. All rights reserved.