The classic American western has a stranger coming to town to stand up to the bullies. Which is a common trope in the U.S.
The idea is that small town locals can't handle their problems vs. evil.
I grew up in a small town and lived most of my life in them. While most people are quiet and keep to themselves,
A frontier area requires tough, cautious people.
While invasions and bandit raids will overwhelm a small village, they are rare.
Early D&D focused on the megadungeon and the weird world below. It rarely burst forth to the surface.
What formulas for "story" structure should we keep in mind besides "only outsiders can save the day?"
Outsiders uncover a town with a secret so it's outsiders vs. the town
Joining the defenders of a beleaguered town to help break a stalemate is marginally better.
The trick is to a avoid portraying those in the location adventurers have arrived as in competent and unintelligent.
I've lived in a city. I've had city people look down on me as a country hick, & country people see me as a city boy.