Still using my 6 yo Pixel 2 XL with a custom rom. Not planning to change and I easily see how I can get to 10 years. For instance, the repairability allowed me to change a cracked screen, as it would be possible with the Fairphone.
Downscale your needs and you can easily do 10 years in my opinion!