Joshua 5:4

ISV(i) 4 Joshua circumcised them because all of the males among the people who came out of Egypt—that is, all the warriors—had died during their journey through the wilderness following their departure from Egypt.