When all the Amorite kings west of the Jordan and all the Canaanite kings who lived along the Mediterranean coast 1 heard how the Lord had dried up the Jordan River so the people of Israel could cross, they lost heart and were paralyzed with fear because of them.
2 At that time the Lord told Joshua, “Make flint knives and circumcise this second generation of Israelites. 2 ” 3 So Joshua made flint knives and circumcised the entire male population of Israel at Gibeath-haaraloth. 3 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.
After all the males had been circumcised, they rested in the camp until they were healed.
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 4 to this day.