But among these there was not a man [left] of those numbered by Moses and Aaron the priest, who numbered the sons of Israel [for the first time] in the Wilderness of Sinai.
your dead bodies will fall in this wilderness, even all who were numbered of you, your entire number from twenty years old and upward, who have murmured against Me. [Heb 3:17-19]
These are those numbered by Moses and Eleazar the priest, who numbered the sons of Israel [for the second time] in the plains of Moab by the Jordan [River] at Jericho.
“Our father died in the wilderness. He was not among those who assembled together against the Lord in the company of Korah, but he died for his own sin [as did all those who rebelled at Kadesh], and he had no sons. [Num 14:26-35]
Nevertheless, God was not well-pleased with most of them, for they were scattered along the ground in the wilderness [because their lack of self-control led to disobedience which led to death]. [Num 14:29, 30]
This is the reason why Joshua circumcised them: all the people who came out of Egypt who were males, all the men of war, had died in the wilderness along the way after they left Egypt.