If your community prices out certain essential services then those providing the service will leave, raising the price of that service, thereby ensuring that those that stay (or come back after the price changes) can make a living, can have a wage that allows them to pay for housing in the city.
Rent control distorts this type of adjustment, indirectly providing a subsidy that benefits those that could afford to pay market rate for a service by allowing those that provide the service to live below market rate and thus charge less.