This is not supposed to happen in a market economy, as you have in developed countries. Many people define “capitalism” as being, more or less, that system.
A narrower definition of “capitalism” is private control of the means of production. In that sense, “capitalism” is at odds with a market economy, which is one reason why that private control is limited in many ways in developed countries.