How would your response change if the shortage of "good" developers stops? Or when they decide 2 "bad" but cheap developers cost less than 1 "good" one?
Or when your constraints change as you age and develop your private life. Programming jobs are plenty until e.g. you have a spouse and a kid to provide for, making your salary demands higher and relocation more difficult.
I hope it would not. I'd rather spend my time becoming better and still have ability to choose good place, then learn how to act 'right' just to keep my job.