In a hostile environment, there is safety in numbers, albeit the Goldilocks Rule applies depending upon the circumstances.
Bronze Age villages averaged 500, although there were exceptions.
Hunter-gatherer tribes numbered up to a hundred.
https://history.stackexchange.com/questions/2360/how-large-were-bronze-age-settlements
https://education.nationalgeographic.org/resource/hunter-gatherer-culture/
Paleolithic hunters were near the apex of the trophic food chain; And sex and reproduction were important to the tribe
In a zombie apocalypse, we would be the prey! And there would be point to reproduction and babies until the zombie threat was dispatched!