Then the LORD said: “I have pardoned, according to your word; but truly, as I live, all the earth shall be filled with the glory of the LORD— because all these men who have seen My glory and the signs which I did in Egypt and in the wilderness, and have put Me to the test now these ten times, and have not heeded My voice, they certainly shall not see the land of which I swore to their fathers, nor shall any of those who rejected Me see it. But My servant Caleb, because he has a different spirit in him and has followed Me fully, I will bring into the land where he went, and his descendants shall inherit it. Now the Amalekites and the Canaanites dwell in the valley; tomorrow turn and move out into the wilderness by the Way of the Red Sea.”
And the LORD spoke to Moses and Aaron, saying, “How long shall I bear with this evil congregation who complain against Me? I have heard the complaints which the children of Israel make against Me. Say to them, ‘As I live,’ says the LORD, ‘just as you have spoken in My hearing, so I will do to you: 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. 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. But your little ones, whom you said would be victims, I will bring in, and they shall know the land which you have despised. But as for you, your carcasses shall fall in this wilderness. 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. 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. 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.’ ”
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, those very men who brought the evil report about the land, died by the plague before the LORD. But Joshua the son of Nun and Caleb the son of Jephunneh remained alive, of the men who went to spy out the land.