That's the exact misunderstanding of socialism that derives from hostile capitalist mischaracterization. If true that socialists believe that socialism has that effect, but “socialism” is not, outside of capitalist propaganda, a general term for any system which has or seeks that effect, any more than “capitalism” is a generic term for any system which has or seeks the effect of enslavement of the mass of the population to a narrow elite (even though socialists believe that capitalism has—and seeks—that effect.)