He definitely didn't come up with that line, I'm sure you could find an attribution to something virtually identical said a century ago, and several times since.
I just watched a program about this, and he was a creep from the get go.
A guy vaguely understanding class struggles doesn't make him a socialist nor a good guy.