Uh, a government can have socialist policies and systems and a capitalist economy. Much like the majority of the developed world? Public education, public healthcare, wide-ranging welfare system...
You know, like the USA, the UK, Canada, Australia, New Zealand, the European Union, most of the rest of Europe...