moving every 2 years or so is clearly the best strategy for career advancement.
it's a double edged sword in my experience from to talking to recruiters who seem to have an irrational hatred of "job hoppers" and they're, anecdotally, a majority.
however it is still true that you'll get higher pay as i did; but be sure to spend a LOT of time keeping your connections alive because most recruiters (still anecdotally) will red flag 2 & 3 year tenure-ships; effectively gate keeping you away from many jobs.
if it weren't for being in a relatively lucrative and in demand field (software development); i would be screwed because of those recruiters.