Which isn't any better IMO. Most recent Pixels have been a buggy mess from launch. Google doesn't see to give a damn about the quality of their devices which is especially bad considering they come at flagship prices.
On the other side, my mom's cheap Samsung A52 has been great so far.
The first Pixel was reasonably solid all around and mine lasted quite a while. The Pixel 2 XL’s terrible screen was my first hint that Google was not prepared to carry the torch of a true flagship phone.
That said: I would still often prefer the accidentally broken Pixel phones over the intentionally gimped and bloated Samsung phones. I just can’t buy one at launch, because I have no idea how Google will have fucked it up this time.
I've heard a lot of complains from Pixel 4a and 6 owners though, about bugs in the OS and drivers... Not sure if these issues are widespread or not.