Not only XKCD's anecdotal evidence confirms it's good to change. A straight coin toss experiment says so too:
https://www.theatlantic.com/business/archive/2016/08/quittin...
Also, personal, from a 28 year old: why would you work for 9 years straight on the same project? Sounds very boring.