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.
When Moses reported this to all the Israelites, they mourned bitterly.