Now when all the Amorite kings west of the Jordan and all the Canaanite kings along the coast heard how the LORD had dried up the Jordan before the Israelites until they had crossed over, their hearts melted in fear and they no longer had the courage to face the Israelites.
References for Joshua 5:1
At that time the LORD said to Joshua, “Make flint knives and circumcise the Israelites again.”
References for Joshua 5:2
So Joshua made flint knives and circumcised the Israelites at Gibeath Haaraloth.
References for Joshua 5:3
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.
References for Joshua 5:4
All the people that came out had been circumcised, but all the people born in the wilderness during the journey from Egypt had not.
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. For the LORD had sworn to them that they would not see the land he had solemnly promised their ancestors to give us, a land flowing with milk and honey.
References for Joshua 5:6