They hadn’t gone very far from the city when Joseph spoke to his manager. “Go after those men right away,” he said. “Catch up with them. Say to them, ‘My master was good to you. Why have you paid him back by doing evil?
Between the time we left Kadesh Barnea and the time we went across the Zered Valley, 38 years had passed. By then, all the fighting men who had been in our camp from the beginning had died. The Lord had warned them that it would happen.
Here is why Joshua circumcised them. All the men who came out of Egypt had died. They died while they were wandering through the Sinai Desert. They were the men old enough to serve in the army.