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.
Are we going to ignore the effects of immigration and the comparative policies of both nations here, or just pretend that a mostly-homogenous nation like Norway (or other Scandi countries) should be equally compared to the United States?
Comparing the USA as a whole to Ireland or Norway is ludicrous. Compare it to the EU, China, India, Indonesia, Brazil. If you want to compare Ireland to the US you should be looking at individual states. If you insist on comparing to individual countries at least look at ones that are at least a tenth of the population of the US, like France, Gernany, the U.K., Russia, Turkey, Italy, Ukraine.
Ireland’s gdp per capita overstates its wealth substantially as large parts of the economy by value is subsidiaries of US companies which repatriate profits back to the US. For economies like Ireland and Luxembourg better to use gross national product than gross domestic product.
Better again to use average individual consumption but statistics on that have only just begun to be gathered. Average household consumption makes the US look pretty great. The only country higher is the UAE and the top 5 is rounded out by Hong Kong, Switzerland and Luxembourg. Petrostates, city states and the US.
The USA is below both Norway and Ireland in the rankings table of GDP per capita, pretty consistently over the different measurements.