stay for the knowledge, not the money would be me advice. I personally have the opinion you should switch a company every 3 years. So you take the most knowledge with you.
And since you only work where you can still learn that means you learn a lot the whole time. I still decline a lot of better payed jobs so I can learn.
The next thing is, if you find people you wanna work with, at least try to take them with you, ... :)
but those are just my thoughts :) I think it's about the trade and evolving you skills and knowledge others may think it's about the money or just to have a job. Different people different views ...