From Wikipedia article on Mensheviks: (you've been talking to someone else in the comments)
Mensheviks came to be associated with the position that a bourgeois-democratic revolution and period of capitalism would need to occur before the conditions for a socialist revolution emerged.
So yes, mate, there are literal historical figures of communism debating this exact same issue that you find so laughable, it's literally the raison d'etre of the word Bolshevism. There is no specific "Marx passage" as if it was the bible, where it says "in case some fella called Mao organizes a socialist revolution in a peasant agrarian society, pls pull it back to capitalism first, and then go to socialism once it's capitalist, ok?" If you generally read Marx, you can see how he puts socialism as the necessary and logical end of capitalism, as something inevitable that will happen because capitalism will bring forward the material conditions for the revolution. But despite that, Marx also was a highly politically involved individual, who pushed forward momentously the socialist movement in Europe together with Engels.
Marx isn't a gospel that you're supposed to be able to chant and have undying faith for, it's an analysis of reality that you can agree or disagree with, which explains the existence of different flavours of communism such as menshevism and bolshevism or such as Maoism and Dengism, which can be explained by the material and historical conditions leading up to those moments. Marx himself said that Marxism has to be constantly interpreting the reality of the moment and critically adapting everything. So if you're looking for a direct quote from Marx about Dengism or Menshevism, I'm not here to provide that, I'm here to tell you that the definition you consider stupid has been hotly debated for a hundred fucking years, so maybe it's not so stupid.