I call BS on the whole premise.
While gas and oil might be on the way out replaced by newables, they wont be anywhere near enough capacity to build, carry, install, and serve while maintaining the same levels (of even half-reduced levels) energy consumption for decades.
That is, oil and gas can't just be stopped using overnight, and we switch over to renewables and electric energy and so on. It can't even be stopped in 1 or 2 decades, it will take much more. Even going with nuclear, it would take decades to get new factories up and running starting from today, and then there's all the other needs for oil...
One example: one billion+ of gas-powered cars wont magically dissapear overnight (nor it's globally a case of replacing them with electric cars in 5-10 years, the way some western consumer is used to buy "the new model"). And that's just a very small example of such needs (add public, state, industrial, and other uses).
So if Norway didn't invest in oil and gas, others definitely would need to, to feel a huge gap.