Those Scandinavian countries at the top became the prosperous countries they are during a time when they were more Christian than secular.
Oh really, that is a twist of events, its because of Christianity that Scandinavia is who they are.... interesting.
Just to inform you, Scandinavia have never been religious, not in the way you make it sound.
Denmark became christians because it was written on a stone. all of Scandinavia uses their old word for christmas, Jul/Júl where ever you go in Scandinavia. It couldn't be further of religion.
Scandinavia was formed for the mentality that already was around with the vikings, that everybody needs to be a part of the society and the strong carry more weight than the weak and so on. When people know they are a part of a society, they usually doesn't want to make it worse if they can make it better.
There is a good trust between Scandinavians, its a mental thing, almost carved into the DNA. It gives a common ground for the freedom among each other.
Its a mentality others can't understand or carry. Its seen way to often.
In many other societies there is a predatory mindset. Take advantage of people around you so you can move forward, not be a part of a society, only take advantage of it.
That is why Scandinavia today is suffering. Because of the predatory nations coming to Scandinavia. They simply don't have a Scandinavian mentality. No matter where they are from, even other western countries also have that predatory mindset.
Just look at nations like America, they whole american mentality is predatory, live the american dream by fighting your way to the top no matter what. Same with the middle eastern nations. Its a status symbol for those kind of people to be "on the top" no matter what the price is. Thats why they cheat and steal. If someone left a wallet with $1.000 they would take it for them self and throw out the wallet. Because they don't want to be a part of a nice and safe society where they help each other.
There is a reason too why they rate to high in crime statistic foreigners when they come to Scandinavia. They simply can't like in a free society. They need to hunt and prey on everyone. Even their own.