Numbers 14:29-35
29Your corpses are going to litter the wilderness--every one of you twenty years and older who was counted in the census, this whole generation of grumblers and grousers.
30Not one of you will enter the land and make your home there, the firmly and solemnly promised land, except for Caleb son of Jephunneh and Joshua son of Nun.
31"Your children, the very ones that you said would be taken for plunder, I''ll bring in to enjoy the land you rejected
32while your corpses will be rotting in the wilderness.
33These children of yours will live as shepherds in the wilderness for forty years, living with the fallout of your whoring unfaithfulness until the last of your generation lies a corpse in the wilderness.
34You scouted out the land for forty days; your punishment will be a year for each day, a forty-year sentence to serve for your sins--a long schooling in my displeasure.g
35"I, GOD, have spoken. I will most certainly carry out these things against this entire evil-infested community which has banded together against me. In this wilderness they will come to their end. There they will die."