That simply isn’t true unless your definition of “socialism” is an alliance of segregation era American liberals, the British Empire, the Chinese Kuomintang warlords, and Stalinists, in which case
Uh, okay bro.
Now if you want to say “socialism removes the pressures that create support for fascism instead of creating them like in capitalism,” sure, okay.