Numbers 14:20-38 NIV
The LORD replied, “I have forgiven them, as you asked. Nevertheless, as surely as I live and as surely as the glory of the LORD fills the whole earth, not one of those who saw my glory and the signs I performed in Egypt and in the wilderness but who disobeyed me and tested me ten times— not one of them will ever see the land I promised on oath to their ancestors. No one who has treated me with contempt will ever see it. But because my servant Caleb has a different spirit and follows me wholeheartedly, I will bring him into the land he went to, and his descendants will inherit it. Since the Amalekites and the Canaanites are living in the valleys, turn back tomorrow and set out toward the desert along the route to the Red Sea.”
The LORD said to Moses and Aaron: “How long will this wicked community grumble against me? I have heard the complaints of these grumbling Israelites. So tell them, ‘As surely as I live, declares the LORD, I will do to you the very thing I heard you say: In this wilderness your bodies will fall—every one of you twenty years old or more who was counted in the census and who has grumbled against me. Not one of you will enter the land I swore with uplifted hand to make your home, except Caleb son of Jephunneh and Joshua son of Nun. As for your children that you said would be taken as plunder, I will bring them in to enjoy the land you have rejected. But as for you, your bodies will fall in this wilderness. Your children will be shepherds here for forty years, suffering for your unfaithfulness, until the last of your bodies lies in the wilderness. For forty years—one year for each of the forty days you explored the land—you will suffer for your sins and know what it is like to have me against you.’ I, the LORD, have spoken, and I will surely do these things to this whole wicked community, which has banded together against me. They will meet their end in this wilderness; here they will die.”
So the men Moses had sent to explore the land, who returned and made the whole community grumble against him by spreading a bad report about it— these men who were responsible for spreading the bad report about the land were struck down and died of a plague before the LORD. Of the men who went to explore the land, only Joshua son of Nun and Caleb son of Jephunneh survived.
NIV: New International Version