Because socialism implies a government dominated centrally planned economy that allocates the nations resources at whatever the socialist rulers deem "just". It's principles detract from a market based economy system and without economic freedom you cannot have personal freedom.