About 1/4 of Norway's GDP is oil and gas (US is about 7%). Ireland is a particularly ironic choice given their recent GDP growth and subsequent dip were mostly from being a tax haven for wealthy US companies.
I wouldn't personally attribute either of these to better educational or societal systems.