Marxism is not only the theory of socialism, it is an integral world outlook, a philosophical system, from which Marx's proletarian socialism logically follows. This philosophical system is called dialectical materialism.
Anarchism or Socialism (1906)