Joshua 5:5

Now all the people that came out were circumcised: 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.

Those who had come out of Egypt had received circumcision, while those born in the wilderness by the way after the departure from Egypt had not received it. The neglect thus marked the whole wilderness-born generation, distinguishing them from the generation that had left Egypt circumcised.

The matter came to a head after the Lord stopped the waters of the swollen Jordan and brought Israel over on dry land, an act that filled the Amorite and Canaanite kings with terror so that their hearts melted with fear. At Gilgal, Israel's first encampment in the promised land, Joshua under the Lord's instruction had that wilderness-born generation circumcised, and by this act Israel renewed the covenant before entering the conquest of Canaan. After the circumcision Israel kept the Passover at Jericho, in the plains of Jericho. In that circumcision was rolled away the reproach of Egypt, meaning that God removed the reproach heathen nations had cast on Him and His people in triumphantly claiming He was not able to bring Israel into Canaan because they had failed to possess it soon after leaving Egypt and had wandered long in the wilderness; by signally manifesting His power and favor in bringing them into the land over the Jordan on dry ground He silenced that reproach so that enemies could no longer make it.