"Workers' rights" makes hiring and particularly firing very expensive. The same thing with "tenants' rights." I would rent to anyone with bad credit and a sob story if I could simply evict them within days for non-payment. But because of these rights now everybody has to have an 800 credit score and six figure W2.
While I’m not doubting you would personally do as you say, I would point out that as someone living somewhere with quite lax tenants rights and a nationally recognised housing emergency (Australia), landlords not renting to people because tenants rights are too onerous doesn’t seem to have a particularly large impact on housing availability.
Whereas some tenants rights seems to have a pretty large positive impact - ie all the positive effects of secure housing.