I’ve had about five different Pixels. One of the Pixel 5 just blew a motherboard. I tried replacing it, but It just made more financial sense to buy another one given that the phone came out in 2019(?) and I got it used. The Pixel 5 also stopped receiving security and GOS updates last year so it wasn’t worth saving. Other than this one account, the phones I own have been without serious issue. This is not a direct answer to your question, but I hope you find some meaning to help you decide.
That’s always the hope. I’ve not yet had a phone that has lasted me 10 years yet but hopefully with reparability and designs that favour stability instead of bleeding edge tech, we’ll be able to see a time when that happens. Good luck in your pursuit.