There were obviously viruses before urbanization (especially given there are viruses that spread in wild animal populations), they probably just spread more slowly. At the minimum, there was probably regular deliberate contact/mixing between adjacent groups to avoid too much inbreeding, and that would imply other social contacts (e.g. an adult who married into another group returning home to catch up with his/her parents and old friends).
https://en.wikipedia.org/wiki/Fission%E2%80%93fusion_society...
Also, I’d imagine there were at least far fewer viruses before urbanization. My understanding is early civilization was really good for diseases.
There are plenty of diseases where humans are a part of the reproduction cycle - malaria is a good example. You don’t need groups of humans together.
Then add in human-animal transmission and you have endemic malaria, tuberculosis, parasites, disease causing bacteria. If you look at remote, isolated tribes today they have a very heavy burden of non-fatal (but quality of life decreasing) diseases.
That specific passage was talking about chimpanzees.
Genetic and linguistic studies demonstrate significant mixing of communities.
Just look at the gobekli tepe story.
Source for reference: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7293495/