What if your family lives there?
What if you’re divorced and your children live there?
What if you don’t want to move your children away from their school and friends?
What if jobs in your profession aren’t available elsewhere?
What if you’re receiving medical treatment there that’s not available elsewhere?
What if you’re contractually obligated to be there?
There are a million reasons why someone might not be able to simply move to a new city. Nobody has a right to live in a particular building or neighborhood. But there should be somewhere for them to live within a city no matter what their income is. A city shouldn’t be allowed to ban classes of people.