New Yorkers, and Manhattanites in particular, live longer than most of the world. This is due to mass transit, public healthcare and being phenomenally rich.
Would also note that the shooter you’re referring to crossed into Manhattan with a gun purchased in another jurisdiction. This is a problem of other areas’ lawlessness crossing into New York as much as it’s a fantasy about cops being expected to thwart an active shooter on the spot.
A particular unknown person getting assassinated is not a safety issue. The only reason it happened in NY is because business happens in NY. Nobody's going to assassinate you, in NY or anywhere else.
If the guy got shot visiting relatives in Park City, would you suggest that any contemporary public policy in Utah was bad?