While it is easy to say that every country can do extraordinarily well if they have abundant natural resources, Norway is basically the only one that actually managed to profit from that on a country-wide scale. That being said, Norway is basically swimming in oil, no wonder they are doing well compared to similarly well build countries
The profits from oil go to the sovereign wealth fund. Actual day to day expenses are paid for by Norwegians paying taxes. And the government cuts corners on a lot of things so they don't have to touch the rainy day fund. All things considered The Danes probably have a higher standard of living and they don't have oil.