That is the best option but it might not be always possible for a variety of reasons. Visa issues, not being good in interviewing/networking (I know some very good devs who suck at interviewing), family commitments etc. These might sound like excuses, but they are real excuses.
We as a industry should improve our processes and not let some MBA guys screw engineers over. It is probably happening elsewhere too, especially the creative jobs (advertising etc).
I hear this advice all the time from my friends. If I was working on just another web development project, yes, I could walk away to yet another web development project. But if I was working on sending space crafts to Mars, then what other choices do I have in the world? Working on improving search results by 0.0001% at Google? Or identifying state actors at Facebook? Ewww....
You only live once, personally I would pick the one that offers the most money. That way, if you find it boring you can always save up enough to live off of a year or two and then do your own thing.
What is your alternative here? Keep getting exploited and keep being frustrated? You need to consider yourself in, say, 20 years. Consider you decided to stay, how do you feel in 20 years? Consider you decided to try something else, how do you feel in 20 years now?
We as a industry should improve our processes and not let some MBA guys screw engineers over. It is probably happening elsewhere too, especially the creative jobs (advertising etc).