Joshua 5:2-12 ESV
At that time the LORD said to Joshua, “Make flint knives and circumcise the sons of Israel a second time.” So Joshua made flint knives and circumcised the sons of Israel at Gibeath-haaraloth. And this is the reason why Joshua circumcised them: all the males of the people who came out of Egypt, all the men of war, had died in the wilderness on the way after they had come out of Egypt. Though all the people who came out had been circumcised, yet all the people who were born on the way in the wilderness after they had come out of Egypt had not been circumcised. For the people of Israel walked forty years in the wilderness, until all the nation, the men of war who came out of Egypt, perished, because they did not obey the voice of the LORD; the LORD swore to them that he would not let them see the land that the LORD had sworn to their fathers to give to us, a land flowing with milk and honey. So it was their children, whom he raised up in their place, that Joshua circumcised. For they were uncircumcised, because they had not been circumcised on the way.
When the circumcising of the whole nation was finished, they remained in their places in the camp until they were healed. And the LORD said to Joshua, “Today I have rolled away the reproach of Egypt from you.” And so the name of that place is called Gilgal to this day.
While the people of Israel were encamped at Gilgal, they kept the Passover on the fourteenth day of the month in the evening on the plains of Jericho. And the day after the Passover, on that very day, they ate of the produce of the land, unleavened cakes and parched grain. And the manna ceased the day after they ate of the produce of the land. And there was no longer manna for the people of Israel, but they ate of the fruit of the land of Canaan that year.
ESV: English Standard Version 2016