It's complex. When you stay in a place too long it can become a dead end not because the location has nothing left to offer but rather the environment has grown around you. There's obligations and relationships and possessions and habits. Managing all these things steals executive function. You don't have time enough to evaluate what is really in your own best interests and take action because you're too busy doing what is expected of you and caught up micromanaging things that just don't matter. One way to clear it all out of the way is to simply move but this isn't a solution to every problem.
The other benefit of moving I think is that you might not live that long and staying in the same place and running the same routine for a lifetime is a terrible waste. Kind of like reliving the same week over and over again.
It's incredibly refreshing to wake up in a new city with nothing to do but explore.