Keep in mind, crime has risen for each of three years through 2022, and while that trend is worrisome, the actual number of crimes is only back up to 2006 levels. https://www.nyc.gov/site/nypd/stats/crime-statistics/histori... That's not a year known as "the bad old days" or particularly dangerous, though you can certainly write the alarming headline, "highest crime in 16 years." (FWIW indications are the trend reversed this year https://www.bloomberg.com/news/articles/2023-07-06/nyc-crime...)
The population decline coincides with the pandemic and remote work, and from my own personal experience here that's a much bigger driver of people leaving. Many people fled to their vacation homes and never came back, other people bought new places upstate and moved.
Like all cities, but probably more than most, NYC is at an inflection point where it's figuring out what its future looks like as work habits change. The offices won't all fill back up but aren't easily converted to housing. And frankly NYC's industries, though dynamic and high end, continue to face tech disruption, and Silicon Valley only has more economic strength every year.
So there could be even more population loss. Rents seem to be softening. There could absolutely be a down period here, economically and otherwise. But if you look back at the history of the city, these have been the most fertile times culturally. Crime in the 70s and 80s went hand in hand with punk rock in LES, art scene in SoHo, independent film wave, birth of hip hop. There were some actual businesses that came out of all that. I don't want NYC to become that bad again, it's not good for the people who live here, but if there is a lull as the city figures out what it is, there will be a silver lining.