> Inequality does not mean we need to have people who can't satisfy their most basic things. It is possible for people to be allowed to compete for wealth and at the same time ensure those that don't want or can't compete have their basic needs like food, shelter and medical care satisfied.
How?
I get that there's a lot of waste and inefficiency in those industries. Whenever zoning laws prevent a developer from building new housing, that's a third party actively preventing someone's basic needs from being satisfied. Whenever med-school admissions hold the number of new doctors below that needed to service all the uninsured, that's a third party actively preventing basic needs from being satisfied. Whenever food just gets thrown out because nobody bought it or it didn't meat the supermarket's quality standards, those were peoples' basic needs that could've been satisfied.
But in most cases this inefficiency happens because of a quality/quantity tradeoff that society has collectively made in the past. When the Bay Area was first settled in the 1930s-50s, it was common for workers to move here, setup tents, and then go to Orchard Supply Hardware, buy some lumber, and build their own houses. Can people do that today? Absolutely not - we have building codes, year-long permitting processes, zoning requirements. Much of that original housing stock still remains, and is a disaster waiting to happen in an earthquake.
Similarly, a common response these days to the shortage of health care and the need to provide affordable health care is for nurse practitioners to get certified (often via online courses) to be a physician's assistant, and to use PAs for much of the routine medical care (coughs, colds, rashes, etc.) that takes up the bulk of a doctor's time. I have several doctor friends who have railed at length about this practice. They have an obvious self-interest in doing so, but they also have a compelling argument: children will die. For most visits, the PA just needs to tell you to take some ibuprofen, but in some rare cases, those recurrent bloody noses are actually a sign of a serious medical condition that needs treatment ASAP. A doctor will have run across those conditions in their training & practice and know what to look for, but a PA is very likely to miss it. Thus, you are literally killing children if you relax the regulations that set the bar for becoming a licensed MD.
Many of our current societal ills come because "the perfect is the enemy of the good". Unrestricted capitalism is very effective at "good enough" solutions, where the product is good enough for you to buy but may be a little rough around the edges or have corner cases that, well, kill you if you get unlucky. To mitigate the corner cases, we've added a lot of regulations that generally prevent suppliers from killing their customers through negligence, but a side-effect is that it's dramatically reduced the population of people who could be potential suppliers. That lets those few trained practitioners dictate the terms of supplying the service, so they can raise their prices until only the wealthy can afford to pay.