Since we are on a technical/scientific site I'll put it in mathematical terms:
implementing social policies is a Necessary But Not Sufficient condition for a Country to be socialist.
There are literally zero countries in the EU that are socialist, they only have ~some~ social policies.
Socialism is not social democracy. Socialism is a economical system where workers own the means of production instead of capital owners.
You do not know the meaning of political terms and are using your own preconceived notions of what they mean to then call a very capitalistic institution (as the EU is) something it's not.
Educate yourself, it will do wonders for you and everyone you interact with.