War is one of those things that's absolutely a survival advantage
if everyone else does it but which is nothing but destructive compared to a hypothetical world where nobody does it. Thus we all get pushed into it, even though it's a massive net negative.
Which is incidentally like a lot of other destructive ideas and traditions.