Evolution is not easy to predict, especially if it involves a "pinch point" where a species is almost driven to extinction, but survives and expands thereafter.
It is thought that modern humans had such a pinch point, but there is not real consensus on that. See
https://www.theguardian.com/science...most-wiped-out-human-ancestors-say-scientists for one take on it, but the total population estimates and timing are still subject to substantially different estimates.
Humans may well be approaching another pinch point, because of our population growth and the unsustainability of the level of "affluence" desired by (most of) the population.
So, what will that mean for our evolution?
Currently, our evolutionary pressures are to become more capable with analytical thought and technological development. Bigger, better mind, but weaker bodies. Longer life spans.
But, what if we have a 95% die-off event, due to a combination of environmental pressures and human nature responses? Who will survive, and what will they "learn" from that experience?
My best guess is that the people who survive such an event will be the most brutal and self-serving, but not the most technologically competent. Technology might be totally lost, resetting human evolution back to something like our last pinch point, but probably with an environment less suitable for redevelopment of what is lost.
On the other hand, if humanity has previously evolved (technologically and perhaps somewhat physically) to the point that there are isolated,
self-sustaining groups elsewhere, perhaps on Mars, repopulation of Earth with a technological society could happen much more rapidly.
If I were to try to put probabilities on the different scenarios, at this point, I would not give the survivors-on-Mars scenario the top probability.
But I also would not claim to have considered all of the possible scenarios.
Perhaps we can evolve our
society fast enough to avoid the pinch point. Yes, there will always be conflicts, but society will evolve on the basis of whether those conflicts reward the aggressors or the victims. Part of our problem today is that many of the aggressors also claim victimhood. Will we evolve a society that is better at sorting that out?