That entire fund was grown long after these policies. In fact Norway was one of the poorest countries in Europe as they were being implemented.
https://www.google.com/amp/s/amp.ft.com/content/99680a04-92a...
That's very different from the people that (some in) the west are afraid of having come over.
Norwegian GNP per capita was among the top in Europe from the early 20th century and on.
The wealth was unevenly distributed, wages were low and there was poverty, but the country wasn't poor.