Wouldn't the eradication of the human race be the only good solution ? Cuz as humans, we're fundamentaly always in conflicts with other people ideals and some of us respond in a violent way which translate to war.
No, I don't think so at least. I think a lot of problems around the world stem from the illusion of wealth and what we are taught to value and how we are taught to value it. It seems like technology is only accelerating mans rapid downfall as we have been given more mediums of "entertainment" which as we know it today is largely a perpetual loop of conceitment and greed and selfishness. We idolize people for the wrong things, we watch tv shows that are sexist or racist or make jokes at the expense of others yet turn around and play victim once the barrier between media and reality is removed. Its all deliberately backward to me. I don't think it's too late for humanity to correct its course, it just takes a powerful idea and a generation to stand behind it. We may only reach that point on the brink of total destruction but who knows. War is perpetual though. That's not gonna change until the world leaders change, or until we change.
Hence why we have such different ideologies which split people even more further from their own peers and subsequently create conflicts among ourselves for such reason as our political or socio-economic opinion. It gets even worse when you're struck by a cognitive dissonance cuz some people will get lost in all that and you know that there's some dishonest people waiting for these occasions just to brainwash some of them into their belief which can ensue more hate between ourselves and at the end of the spectrum, war is waiting in a corner.
Of course, it's not too late for humanity to redeem itself but as you said it will probably happen when we're around the precipice, lucky us, we'll probably be there when it'll happen.