He climbed in the trenches
2 At that time the LORD told Joshua, “Make flint knives and circumcise this second generation of Israelites.” 3 So Joshua made flint knives and circumcised the entire male population of Israel at Gibeath-haaraloth.
4 Joshua had to circumcise them because all the men who were old enough to fight in battle when they left Egypt had died in the wilderness. 5 Those who left Egypt had all been circumcised, but none of those born after the Exodus, during the years in the wilderness, had been circumcised. 6 The Israelites had traveled in the wilderness for forty years until all the men who were old enough to fight in battle when they left Egypt had died. For they had disobeyed the LORD, and the LORD vowed he would not let them enter the land he had sworn to give us—a land flowing with milk and honey. 7 So Joshua circumcised their sons—those who had grown up to take their fathers’ places—for they had not been circumcised on the way to the Promised Land. 8 After all the males had been circumcised, they rested in the camp until they were healed.
9 Then the LORD said to Joshua, “Today I have rolled away the shame of your slavery in Egypt.” So that place has been called Gilgal to this day.
10 While the Israelites were camped at Gilgal on the plains of Jericho, they celebrated Passover on the evening of the fourteenth day of the first month. 11 The very next day they began to eat unleavened bread and roasted grain harvested from the land. 12 No manna appeared on the day they first ate from the crops of the land, and it was never seen again. So from that time on the Israelites ate from the crops of Canaan.
The LORD’s Commander Confronts Joshua
13 When Joshua was near the town of Jericho, he looked up and saw a man standing in front of him with sword in hand. Joshua went up to him and demanded, “Are you friend or foe?”
14 “Neither one,” he replied. “I am the commander of the LORD’s army.”
At this, Joshua fell with his face to the ground in reverence. “I am at your command,” Joshua said. “What do you want your servant to do?”
15 The commander of the LORD’s army replied, “Take off your sandals, for the place where you are standing is holy.” And Joshua did as he was told.