A survey by Stack Overflow shows that both young and long-standing developers are increasingly thinking about changing employers.
Whether they are newcomers to the field or seasoned veterans within the developer community, a substantial proportion of developers, as revealed in a survey conducted by the Stack Overflow team with over
you’re meant to move jobs every few years, you can keep employees a few years longer with stock incentives or yearly raises but if there’s no financial advantage to staying, why would I? Like if it’s better in every single way to move, why stay?
I mean if you have a super nice working environment (team etc.), I don’t see an issue with staying at the company.
But yeah as you say, if the new company is better in every single way, of course you should move.