What we consider to be “mental well being” is also a product of evolution, and there is certainly correlation between mental health and ability to survive. It’s unlikely that evolution ever favored practices that go strongly against mental health, though it is possible that the criteria for mental well being has also changed by evolution.
Whether today we consider ancient practices abhorrent or not is a different matter though. In general those can be explained by cultural differences, and there is no need to invoke mental health. Improvements in psychological well being isn’t universally correlated with increased pacifism, as some people here seem to think. Modern western civilization is a product of very specific historical events - not a progression toward our "evolutionary ingrained instincts". If anything, judging by the vast majority of human history - our "evolutionary ingrained instincts" are far more tuned toward violence than what is considered acceptable today in the western world.
A mentally healthy individual in modern US would act very differently from a mentally healthy individual in ancient Rome.