As the cost of living there continues to increase while the overall quality of life falls, New York City is suddenly worried about people leaving. As one of those places that has never really had to worry about either attracting new residents or holding onto its population, this is not a problem New Yorkers have had to spend a ton of time on. The linked article makes the very important point that residents do not owe the city anything. If you are being gouged on rent for the privilege of living there, you have a reasonable expectation that services will be provided and that your quality of life will be reflective of your costs. If you cease getting out of the city what you are paying to live in it, it's OK to move.
I have never lived in New York but this argument resonates with me because one encounters it often in the Rust Belt – particularly in Central Illinois during my time there. It is often suggested or said that each individual has an obligation to stay put and do the hard work of fixing their community. In practice this means struggling mightily to fix it until suffering a mental breakdown from stress and repeatedly banging your head against a wall. It turns out that the forces responsible for something like urban decay and the collapse of the economy of an entire region bigger than most countries is well beyond the power of one person or even a dedicated group of people to change. Huh.
You are not a traitor for wanting to stop giving part of yourself to a futile effort to fix what others have broken. You have a responsibility to your community and to the people around you, but not at the expense of yourself. Read The Giving Tree for god's sake. You have the right to live somewhere affordable, safe, and with a quality of life that supports your needs. If the place where you live stops meeting those criteria, it is worth your effort to try to fix it. But don't fool yourself into believing that the problem can always be fixed. Sometimes it can, sometimes it cannot. Sometimes it is beyond anyone's power to fix it; other times the people with the power to change things simply don't want to. In either case it is not your job to sit there and waste your life in a place that is falling down around you just because you happened to be born there or found yourself living there for whatever reason.
You do not owe it to New York City to spend 75% of your income on rent unless that is what you really want to do. You have agency, and the ability (if not responsibility) to decide if the problems in your community are simply too big for you or the like-minded people around you to fix. Sometimes they will be.