Now all the people that came out were circumcised
All that came out of Egypt, and males, were circumcised, whether under or above twenty years of age; for though it is possible all were circumcised before they came out of Egypt, which favours the opinion of Dr. Lightfoot, that they might be circumcised during the three nights' darkness of the Egyptians, when they could take no advantage of it, as Levi and Simeon did of the Shechemites; and which seems more probable than that it should be on the night they came out of Egypt, when many must have been unfit for travelling, and seems preferable to that of their being circumcised at Mount Sinai, which was a year after their coming out of Egypt:
but all the people [that were] born in the wilderness by the way, as
they came forth out of Egypt, [them] they had not circumcised;
the reasons of which neglect; (See Gill on Joshua 5:2). The phrase, "by the way", seems to point at the true reason of it, at least to countenance the reason there given, which was on account of their journey; that is, their stay at any place being uncertain and precarious; so the Jews say {z}, because of the affliction or trouble of journeying, the Israelites did not circumcise their children. This is to be understood of all males only born in the wilderness, they only being the subjects of circumcision.