Cities aren't the issue, how people engage with them is. A city isn't far off a jungle, a cliche but whatever, it's pretty spot on. I had a blast living in my countries capital. But I wasn't caught up in a 9-5, had a great group of supportive people around me, got plenty of exercise, and had a very real understanding of what I wanted from being in the city. For context I was a push bike messenger in London. I rode my bike for ~11 hours a day delivering urgent contracts for banks, laweyrs, whoever. This wasn't deliveroo shit, those guys can do one, this was proper old school courier work. My money was pure commission so the faster I rode the more money I made.
I'm naturally not very sociable and am a private individual so have never kept a proper circle of friends around me. However, as a messenger every other rider is your buddy, even if you only ever exchange a nod a week. You feel like you are part of big family and know that if you ever get a puncture, or knocked down, or in trouble, that another messenger would more than likely make sure you were all good.
The bike work meant that I could be in the city but engage with it on a whole different level. It was my playgroun and I was part of the wierd family of oddballs who for whatever reason had also ended up riding a bike for a living. I never had to use public transport, apart from when I was injured I spent all my waking time out on my bike. I got to see the different seasons, experience the weather, explore parts of the city that desk jockies who have been there for 50 years never knew existed. I never had trouble sleeping. My life consisted of eating, sleeping, and riding a bike. It was awesome. However, I'm from the countryside so eventually moved out of the city. While overall I am happier in the countryside as it's what is in my blood I do miss courier work and living in the city. But I would never live there if I wasn't working on a bike.