2 At that time the Lord told Joshua, "Make flint knives and circumcise this second generation of Israelites. " 3 So Joshua made flint knives and circumcised the entire male population of Israel at Gibeath-haaraloth. 4 Joshua had to circumcise them because all the men who were old enough to fight in battle when they left Egypt had died in the wilderness. 5 Those who left Egypt had all been circumcised, but none of those born after the Exodus, during the years in the wilderness, had been circumcised. 6 The Israelites had traveled in the wilderness for forty years until all the men who were old enough to fight in battle when they left Egypt had died. For they had disobeyed the Lord, and the Lord vowed he would not let them enter the land he had sworn to give us-a land flowing with milk and honey. 7 So Joshua circumcised their sons-those who had grown up to take their fathers' places-for they had not been circumcised on the way to the Promised Land. 8 After all the males had been circumcised, they rested in the camp until they were healed. 9 Then the Lord said to Joshua, "Today I have rolled away the shame of your slavery in Egypt." So that place has been called Gilgal to this day.
Matthew Henry's Commentary on Joshua 5:2-9
Commentary on Joshua 5:1-9
(Read Joshua 5:1-9)
How dreadful is their case, who see the wrath of God advancing towards them, without being able to turn it aside, or escape it! Such will be the horrible situation of the wicked; nor can words express the anguish of their feelings, or the greatness of their terror. Oh that they would now take warning, and before it be too late, flee for refuge to lay hold upon that hope set before them in the gospel! God impressed these fears on the Canaanites, and dispirited them. This gave a short rest to the Israelites, and circumcision rolled away the reproach of Egypt. They were hereby owned to be the free-born children of God, having the seal of the covenant. When God glorifies himself in perfecting the salvation of his people, he not only silences all enemies, but rolls back their reproaches upon themselves.