No. Why? I think there was a time when Mexico City was not particularly safe, a long time ago, afaik. We went there with our kids in 2022 and felt totally safe. There were police everywhere. Funnily enough, since our trip, I know tons of people who have been to Mexico City recently, and all have loved it. Apart from the usual keep your wits about you as you would in any city, there was not a moment when we felt uneasy.
As an aside, I posted here about my 2022 trip to Mexico City and the lovely mynameiswhatever, may he rest in peace, was persuaded by my write up and took a trip there with his daughter just before she went off to college. They had a great time.
Anyway, my son and his girlfriend went to Yucatan, Riviera Maya area for a week in September and felt totally safe. My daughter is in Yucatán, right now, having an absolute blast. Yes, they are both aware that there can be criminals in these areas, as there can be anywhere that a lot of tourists go.
The most unsafe place I’ve ever been is the London Underground. I’ve had my pockets picked there twice. It’s heaving with tourists and gangs of professional pickpockets. I was in London in December and kept my bag strapped to my body under my coat. And then I just got on with it and had a nice time.