That isn't capitalism.
> In later stages it actually did keep those people there because they either couldn't afford to leave the city without half the family starving
I'm not sure what that means. Cities weren't that big. Just walk out and go live on some uninhabited BLM land if you don't want to participate in the capitalist economy.
Well, everything was steered by capital that the factory owners had.