Like I said, comfort is a powerful force, and has value. But looking at the data, changing jobs is always the better move in terms of increasing your earning potential(and if you can't increase it, well, don't change!).
Employees Who Stay In Companies Longer Than Two Years Get Paid 50% Less - Forbes
I find it's a good idea to think of changing jobs in the same way as compounding interest. You may switch jobs and only get a 10% better deal, but on your next change your baseline is now 10% better, and you're looking for another 10% on top of that(keeping in mind I'm using 10% as an arbitrary number, you can often negotiate higher, either 15-25% or 10% with more vacation, or equity, or whatever).
The downside as I said is you're increasing your risks of bad jobs, but on the upside you won't be at them too long either and can still trade up. If you left a company on very good terms, it's not even unusual to return to the same place several years later at a substantially greater salary than you would of had just from staying there, so you're also getting some value in trying out different employers and finding what you actually like.
Realistically most people don't execute well on this strategy because most people are risk adverse, but the best way to increase your value is to be risk seeking.
All that said, I don't harshly judge anyone who has a high value on comfort, knowing your needs and accepting them is an individual judgement call. I'm just saying that in terms of $, you can always do better, the soft-ceiling of earning potential for a reasonably competent person is in the tens of millions, if you're earning less than that, then you are leaving money on the table in the long-run.