Mmmmm, I must have had a bit of a dog then. In November 2017 my wife and I each had a 10 to replace an M7, which lasted almost 5 years before the battery started to fail, and my M9 which lasted a disappointing 2 years before the battery started to fail.
Admittedly it was 12 months after the launch so they could have been on the shelf for just over a year but my 10 started to show battery failure last December so we have replaced them both with the Pixel 3a which, I have to say, is very impressive and we are both very pleased.
My wife's 10 wasn't showing any signs of battery failure but we are keeping both. I'm still using mine, until it dies completely, as a music player and for internet access at home to cut down usage of my Pixel as much as possible.
I'm a heavy user compared to my wife so I'm hoping for a good battery life for both Pixels.
We're keeping my wife's 10 as a spare, always useful to have a decent spare phone.