A common belief is that if the world does not have adequate energy, the result will be high prices. These high prices will allow more fossil fuels to be extracted or will allow renewables to substitute for fossil fuels.
In my view, the real issue is quite different: Inadequate energy supply of the types the economy requires can be expected to affect the economy in a way that causes it to become "unglued." The economy will gradually fall apart as infighting becomes more of a problem. Goods won't necessarily be high-priced; many simply won't be available at any price. Political parties will fragment. Conflict within countries, such as the recent Wagner conflict with the military leadership in Russia, will become more common.