Hitler believed that Marx "disguised" Marxism as socialism (which Hitler believes was invented by the Germans). And that real German socialism, unlike Marxism, believes in private property. Unlike Marxism, it involves no negation of individuality and, unlike Marxism, it is purely nationalistic.
In other words, it all depends on how you define the word "socialism."
Did you watch the short video from the historian?
Hitler was allot of “things”, but it’s surprising how influenced we was by Socialism. His National Socialism was virulent Jew hatred combined with Socialist ideals.
At the end of the day all Marxist-Communist-Socialist governments end up an authoritarian dictatorships where the Party Elite operate more like a crime family to retain totalitarian rule. So it’s somewhat academic because they all end up the same way, only after 100 million have been murdered.