People don't deserve to live in San Francisco (i.e. it's not some basic right that needs to be met through subsidized housing), but San Francisco deserves to have a diverse set of people if it is to be a great city, and not just a millionaire enclave.
From the city's point of view, there's a problem to be solved in terms of getting different kinds of people in the city.
From the city's point of view, there's a problem to be solved in terms of getting different kinds of people in the city.