Comparing capitalism to socialism is flawed.
The flaw is comparing an economic form to a form of governance.
Capitalism exists in all forms of government including socialism.
The difference is in who owns and controls the capital, the people or the government.
Kudos for pointing out tbe hidden false premise most overlook.