New Revised Standard Version
The New Generation Circumcised
5 When all the kings of the Amorites beyond the Jordan to the west, and all the kings of the Canaanites by the sea, heard that the Lord had dried up the waters of the Jordan for the Israelites until they had crossed over, their hearts melted, and there was no longer any spirit in them, because of the Israelites.
2 At that time the Lord said to Joshua, “Make flint knives and circumcise the Israelites a second time.” 3 So Joshua made flint knives, and circumcised the Israelites at Gibeath-haaraloth.[a] 4 This is the reason why Joshua circumcised them: all the males of the people who came out of Egypt, all the warriors, had died during the journey through the wilderness after they had come out of Egypt. 5 Although all the people who came out had been circumcised, yet all the people born on the journey through the wilderness after they had come out of Egypt had not been circumcised. 6 For the Israelites traveled forty years in the wilderness, until all the nation, the warriors who came out of Egypt, perished, not having listened to the voice of the Lord. To them the Lord swore that he would not let them see the land that he had sworn to their ancestors to give us, a land flowing with milk and honey. 7 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.
8 When the circumcising of all the nation was done, they remained in their places in the camp until they were healed. 9 The Lord said to Joshua, “Today I have rolled away from you the disgrace of Egypt.” And so that place is called Gilgal[b] to this day.
The Passover at Gilgal
10 While the Israelites were camped in Gilgal they kept the passover in the evening on the fourteenth day of the month in the plains of Jericho. 11 On the day after the passover, on that very day, they ate the produce of the land, unleavened cakes and parched grain. 12 The manna ceased on the day they ate the produce of the land, and the Israelites no longer had manna; they ate the crops of the land of Canaan that year.
13 Once when Joshua was by Jericho, he looked up and saw a man standing before him with a drawn sword in his hand. Joshua went to him and said to him, “Are you one of us, or one of our adversaries?” 14 He replied, “Neither; but as commander of the army of the Lord I have now come.” And Joshua fell on his face to the earth and worshiped, and he said to him, “What do you command your servant, my lord?” 15 The commander of the army of the Lord said to Joshua, “Remove the sandals from your feet, for the place where you stand is holy.” And Joshua did so.