Well I hope no one pushes you in front of a subway train or beats you in the head with a baseball bat...
I've lived in our near NYC for 46 of my 47 years, and the city is my playground. And have been out in the city to 2-4am many times. My late teens and early twenties were spent at lots of clubs and raves till the wee hours of the morning. And then after that a lot of fun bar outings all over the city, when it was less safe, until 2am. Nothing. Statistically it is quite safe. Nobody I know or met has been crimed except minor theft. Except I had one thing stolen from my car. A hit of ecstasy from my wallet. Which had no money or cards in it, but my license. They just took the hit of E and left the rest.
I've also ridden my bike in the city over a thousand miles the last years. Nothing happened. I remember looking for the burning buildings and anarchy all the right wing idiots were talking about during covid. All I saw were people outside going about their business - no smoke and no ash.
Crime in the cities happens, but per capita, NYC is quite safe. Be street smart and you should be golden.
But I appreciate you validating my statement of a lot of GQP folks in the suburbs and rural areas being ignorant.
They think NYC is a war zone, meanwhile we are just trying to find a good brunch spot and picking from the abundance of great food, music, art, people and activities to do and experience.