I dropped my phone one too many times, I guess. My Pixel 2XL started behaving badly. It would suddenly turn off (not shut down, just power off instantly).
Now perhaps I could have researched repair options, but my wife’s iPhone was up for renew and she didn’t want a new iPhone, so I took advantage and used her upgrade to go from a Pixel 2XL 65 GB to a Pixel 3XL 120 GB.
I now have the phone operating and in hand.
It’s better!