Joshua 5:6

5:6 Indeed, for forty years the Israelites traveled through the desert until all the men old enough to fight when they left Egypt, the ones who had disobeyed the Lord, died off. For the Lord had sworn a solemn oath to them that he would not let them see the land he had sworn on oath to give them, a land rich in milk and honey.

Joshua 5:8

5:8 When all the men had been circumcised, they stayed there in the camp until they had healed.