This is entirely orthogonal to socialism vs non-socialism. Socialism is about economic systems where the means of production are owned by the workers.
Then and now one focus of socialist policy is to make so that the "Bourgeoisie" cannot ruin the life of those near the bottom of society. In the last many decades the economy, the "workers", the bottom of society all changed a lot.