In Joshua 5:2-6 we read:
2 At that time the Lord said to Joshua, “Make flint knives and circumcise the Israelites again.” 3 So Joshua made flint knives and circumcised the Israelites at Gibeath Haaraloth.
4 Now this is why he did so: All those who came out of Egypt—all the men of military age—died in the wilderness on the way after leaving Egypt. 5 All the people that came out had been circumcised, but all the people born in the wilderness during the journey from Egypt had not. 6 The Israelites had moved about in the wilderness forty years until all the men who were of military age when they left Egypt had died, since they had not obeyed the Lord.
Since their parents were dead, who performed the circumcision?