This is the cause why Joshua did circumcise: all the people who came forth out of Egypt, who were males, even all the men of war, died in the wilderness by the way, after they came forth out of Egypt.
"The sentence upon the fathers, that their bodies should fall in the desert, was unquestionably a rejection of them on the part of God, an abrogation of the covenant with them. This punishment was also to be borne by their sons; and hence the reason why those who were born in the desert by the way were not circumcised." [Note: Keil and Delitzsch, p. 55.] 