The quotation originates from the introduction of Marx's work A Contribution to the Critique of Hegel's Philosophy of Right, which he started in 1843 but which was not published until after his death. The introduction to this work was published separately in 1844, in Marx's own journal Deutsch–Französische Jahrbücher, a collaboration with Arnold Ruge.