WW1 and 2 were the same conflict. The apparent stupidity of WW1 is really a function of how accustomed we are to modern industry, communications, and some of the things hard-won by that conflict.
End of the day, it was all about resources, and is no different than today’s conflicts, which boil down to oil on the supply and the control of money on the demand side.
Except now Iran shoots missiles at a US base in Iraq and the price of oil barely budged. Times have changed, and the US is much more energy independent. And over the next decade even more so as the EV revolution and renewable energy continue to dominate.
IMO the increasing irrelevance of the Middle East will continue to increase world peace and prosperity, at the expense of some truly awful regimes which will crumble.
End of the day, it was all about resources, and is no different than today’s conflicts, which boil down to oil on the supply and the control of money on the demand side.