Sweden was, not really so much anymore. Socialism is a pretty broad term in the context of governments, the US has policies that would absolutely fall under the category of socialist, but that doesn't make the US socialist. Denmark has a lot of social programs that are simply commonplace in European nations, but it is a constitutional monarchy, so by definition it's not socialist.