Joshua 5:4

4 This is the reason why Joshua circumcised them: all the males of the people who came out of Egypt, all the warriors, had died during the journey through the wilderness after they had come out of Egypt.

Joshua 5:4 Meaning and Commentary

Joshua 5:4

And this [is] the cause why Joshua did circumcise
Or the reason of the command given him to circumcise the children of Israel at this time, namely, what follows:

all the people that came out of Egypt [that were] males, [even] all
the men of war;
meaning such that were twenty years old, and upwards:

died in the wilderness, by the way, after they came out of Egypt;
not directly, but in a course of forty years, as they journeyed through the wilderness; this is to be understood with an exception of Joshua, Caleb, Eleazar but then there was a large number who were under twenty years of age, that came out of Egypt, and were now living.

Joshua 5:4 In-Context

2 At that time the Lord said to Joshua, "Make flint knives and circumcise the Israelites a second time."
3 So Joshua made flint knives, and circumcised the Israelites at Gibeath-haaraloth.
4 This is the reason why Joshua circumcised them: all the males of the people who came out of Egypt, all the warriors, had died during the journey through the wilderness after they had come out of Egypt.
5 Although all the people who came out had been circumcised, yet all the people born on the journey through the wilderness after they had come out of Egypt had not been circumcised.
6 For the Israelites traveled forty years in the wilderness, until all the nation, the warriors who came out of Egypt, perished, not having listened to the voice of the Lord. To them the Lord swore that he would not let them see the land that he had sworn to their ancestors to give us, a land flowing with milk and honey.