100% this. Cities (and medium to large towns) don't have the same community spirit and friendship as villages and small market towns. The smaller places generally have one big event, and just one set of shops/one high street, and everyone goes to it. And they have generally quite friendly neighbourhoods. In the bigger places, people are more widespread and far flung, and there is very little community.
People will, of course, insist we are wrong saying this, and they have a lovely community in their area of the pollution filled, highly populated, busy, noisy city they live, that is exactly like any in a village, if not better.
But most of us here have lived in cities and large towns at some point, and we know it's not true.
I grew up in a small old mining town, which was lovely, full of community spirit, lots of extended family within a mile, all your friends lived within a mile. everybody knew everybody, everybody worked not far from where they lived, and everyone socialised at the same social clubs, or in one of the 3 local pubs...
I moved to a big city at around 19-20, lived there for 2-3 years, and found it cold and unfriendly, and transient. Most people came and went quickly, and didn't stay in touch. There was lots of backstabbing, and no true friendships too.
I then moved to a medium sized to large sized town (population around 100,000,) some 12-13 miles from where I grew up (in a new-build suburb - the cul-de-sac inside a cul-de-sac inside a cul-de-sac kind of place,) that was full of yuppies and people desperate to be middle class. Not very friendly people, all trying to keep up with the Joness... Moved somewhere similar after 5-6 years and this was pretty much the same.
Then I moved to a little village some 14-15 years ago, with a parish hall, a Church, hobby groups, coffee meetings, something going on at the parish hall around once a month, fortnightly bingo, fayres and car boot sales and all sorts.
Very friendly people, everyone speaks to you when they see you, and there always someone to help in an emergency. It's like the when I was growing up. I doubt I will ever leave. I love it here.
.