Correct, all of the scandanavian countries are Capitalist countries, they have strong social safety nets and strong welfare states.
The reason capitalism works so well in Sweden, Norway, and Denmark is that they have strong social safety nets and welfare systems. There are no actual "socialists" in the us who want to bring about socialism. So called 'democratic socialists' are in fact capitalists who want a system similar to Scandinavia. Nationalize things for the public good, but, keep most things like the means of production and housing private. Keep a supply/demand economy rather than a "command economy."
This is why all the right wing news that compares liberal ideas to venezuela is so incredibly stupid and why we more or less shit all over the right wing. It's that overwhelming willful stupidity that has been tearing the country apart for a long time.