8 And after the whole nation had been circumcised, they remained where they were in camp until they were healed.

Read Joshua 5:8 Using Other Translations

And it came to pass, when they had done circumcising all the people, that they abode in their places in the camp, till they were whole.
When the circumcising of the whole nation was finished, they remained in their places in the camp until they were healed.
After all the males had been circumcised, they rested in the camp until they were healed.