Your advice is practical… but it presents a moral hazard.
Tenants sign legal contracts in the form or rental agreements or leases. They agree to pay a specific amount in return for living in the apartment or house. If they stop paying, isn’t it the same as someone who buys a house, and stops paying the mortgage?
The landlord not paying the mortgage is a breach of their contract (mortgage) between the landlord and bank. The tenant is not a party to that contract.
Yes it sucks for the tenant if their landlord stops making payments. But isn’t withholding rent doing the same bad thing as the landlord… not paying ones agreed obligations?