We need ti begin thinking of ways for technology to help us avoid this - before it happens. I disagree with crypto-currency being a long-time answer, because soon enough, it will be made illegal because cetnral banks won’t allow competition against their CBDCs.
Wars are never started by people on the street, they are always started by political leaders and economic or religious powers. The same ones in these are hidden in bunkers, while people who don’t even know each other, kill each other under the command of those responsible for this madness. It should be like in the antiquity, where the kings and rulers fought in the front row in wars, if this was forced on the current leaders, the world would be much more peaceful.