20 So the LORD said, "I have pardoned them according to your word; 21 but indeed, as I live, all the earth will be filled with the glory of the LORD. 22 "Surely all the men who have seen My glory and My signs which I performed in Egypt and in the wilderness, yet have put Me to the test these ten times and have not listened to My voice, 23 shall by no means see the land which I swore to their fathers, nor shall any of those who spurned Me see it. 24 "But My servant Caleb, because he has had a different spirit and has followed Me fully, I will bring into the land which he entered, and his descendants shall take possession of it. 25 "Now the Amalekites and the Canaanites live in the valleys; turn tomorrow and set out to the wilderness by the way of the Red Sea."
26 The LORD spoke to Moses and Aaron, saying, 27 "How long shall I bear with this evil congregation who are grumbling against Me? I have heard the complaints of the sons of Israel, which they are making against Me. 28 "Say to them, 'As I live,' says the LORD, 'just as you have spoken in My hearing, so I will surely do to you; 29 your corpses will fall in this wilderness, even all your numbered men, according to your complete number from twenty years old and upward, who have grumbled against Me. 30 'Surely you shall not come into the land in which I swore to settle you, except Caleb the son of Jephunneh and Joshua the son of Nun. 31 'Your children, however, whom you said would become a prey--I will bring them in, and they will know the land which you have rejected. 32 'But as for you, your corpses will fall in this wilderness. 33 'Your sons shall be shepherds for forty years in the wilderness, and they will suffer for your unfaithfulness, until your corpses lie in the wilderness. 34 'According to the number of days which you spied out the land, forty days, for every day you shall bear your guilt a year, even forty years, and you will know My opposition. 35 'I, the LORD, have spoken, surely this I will do to all this evil congregation who are gathered together against Me. In this wilderness they shall be destroyed, and there they will die.'"
36 As for the men whom Moses sent to spy out the land and who returned and made all the congregation grumble against him by bringing out a bad report concerning the land, 37 even those men who brought out the very bad report of the land died by a plague before the LORD. 38 But Joshua the son of Nun and Caleb the son of Jephunneh remained alive out of those men who went to spy out the land.