Joshua 5:2-9 New King James Version (NKJV)
2 At that time the Lord said to Joshua, “Make flint knives for yourself, and circumcise the sons of Israel again the second time.” 3 So Joshua made flint knives for himself, and circumcised the sons of Israel at [a]the hill of the foreskins. 4 And this is the reason why Joshua circumcised them: All the people who came out of Egypt who were males, all the men of war, had died in the wilderness on the way, after they had come out of Egypt. 5 For all the people who came out had been circumcised, but all the people born in the wilderness, on the way as they came out of Egypt, had not been circumcised. 6 For the children of Israel walked forty years in the wilderness, till all the people who were men of war, who came out of Egypt, were [b]consumed, because they did not obey the voice of the Lord—to whom the Lord swore that He would not show them the land which the Lord had sworn to their fathers that He would give us, “a land flowing with milk and honey.” 7 Then Joshua circumcised their sons whom He raised up in their place; for they were uncircumcised, because they had not been circumcised on the way.
8 So it was, when they had finished circumcising all the people, that they stayed in their places in the camp till they were healed. 9 Then the Lord said to Joshua, “This day I have rolled away the reproach of Egypt from you.” Therefore the name of the place is called Gilgal[c] to this day.