Samsung phones can survive twice as many charges as Pixel and iPhone, according to EU data
(www.androidauthority.com)
Your pixel 5 didn't just mysteriously die? There was a wave of them dying. Mine was part of the crossfire.
I loved the pixel 5 too, for like 3 years then mysteriously croaked.
Currently on the pixel 6 which is pretty good.