read this somewhere:

"the money spent going to war for oil could have been spent eliminating the need for oil."

@saltywizard just a cupple of toots from yours, I saw this link, which is probably what you have read.
https://newrepublic.com/article/207946/iran-war-oil-hormuz-price-energy
For the Same Cost as Another Mideast War, We Could Make Oil Irrelevant

The price tag for building enough renewables to power the grid is eerily close to America’s typical price tag for the kind of war it would take to fully secure the Strait of Hormuz.

The New Republic