>>5
It's from Critique of the Gotha Programme: https://www.marxists.org/archive/marx/works/1875/gotha/ch04.htm
Here's the programme itself: https://en.wikisource.org/wiki/Gotha_Program
But if you mean >>4 then yes, that's completely made up and has nothing to do with the actual works of Marx.