Herd behavior benefits wildebeests primarily by decreasing the chance of spreading disease.
Being in a large group can help reduce the risk of any single individual becoming isolated and vulnerable to predators or disease, which is crucial for their survival.