Thanks for inquiry. I looked it up and turns out I was wrong! It wasn’t Goebbels but none other than Hitler himself:
February 1941 — “basically National Socialism and Marxism are the same.” “Herr Hitler’s Speech of February 24,” Bulletin of International News (published by the Royal Institute of International Affairs) vol. 18, March 8, 1941, p. 269.
FA Hayek, The Road to Serfdom, n.12 p.81.
[Goebbels of course did his doctorate work is Marxist philosophy]