Yeah, he described "market economy", which ain't necessarily the same as capitalism.
Capitalism's central feature is that some of the worker's "value added" goes to the capital-owner(s).

In early capitalism, the factory owner is a natural person and in late capitalism the factory owner is a juristic person. The latter tends to involve much more banking than the former.

Marx basically decried mostly what we do nowadays know as a market failure: power asymmetry.


Market failures and the topics of safety/security and public organisation (such as traffic lights, assignment of radio frequencies) are the core justifications for a state.
Sadly, way too many people do know very little if anything about market failures. Only the monopoly is quite well-known by name.