That's because you don't seem to know the difference between socialism and NATIONAL SOCIALISM. Hiltler hated the former with passion, and would kill you if he heard you make the implication you just made.
The things socialism and national socialism (or "nazi" for short) lies that they both come forth from the ideal that the worker should be on the first place, and that the interest of the worker are most important (sounds a bit like the "American Dream", doesn't it? "Work hard and have a good life". Naziism even put more emphasis on this).
Where the differences come in play is the philosophy behind it. Where the philosophy of socialism, or communism, as per ideas from Karl Marx, lies in equality, nobody is superior to anybody else, National Socialism refutes the entire idea of equality, and sets groups of people higher in the ladder of respect than others, placing the Aryans on the spot as the superiors, and the Jews on the spot of people that didn't deserve to called "human", and thus the Holocaust... Well that is the simple version, as it's of course more complicated than that, but in a simple version, that's what it comes down to.
A true socialist would also help disabled, ill, impaired, old people to give them the care they need, and help them to make something out of their lives, if this help is required. A NATIONAL SOCIALIST would see them as parasites of society and seek to "eliminate" (read: kill) them.
If you take both socialism and national socialism into a deeper look and take a look at their cores, you suddenly discover how little the two phenomenons have in common. Making that mocking spongebob make sense as he's mocking YOUR stupidity and ignorance. Good to know you got some self-reflection :P