This all-or-nothing thinking is, itself, a problem. Capitalism is a tool. And it's good at many things. Creating competition and innovation in consumer goods is one area it's obviously very good at. It is
not good at equity. Externalities are a massive problem raw capitalism has no affordance for addressing. Regulations (another tool) are necessary to smooth out capitalism's rough edges.
You'll find very few people that actually want to whole-hog entirely get rid of capitalism. When you find people critiquing it, it's generally from the vantage point of "this is a rough edge that needs addressing via some government intervention". Housing (in addition to healthcare, education, transportation, and countless other areas) seems like one case where this is very obviously true.