Since Google launched Pixel phones in 2016, it's sold 27.6 million units. That's 1/10 of Samsung's 2021 sales. In other words, Google would need 60 years to sell as many phones as Samsung sells in one.
Data: IDC
To my mind, the Pixel isn't Samsung competition, it's Samsung insurance.
Google has no second option for Android vendors in the US: LG quit, HTC phones went extinct and Chinese ones aren't welcome. Sony's failures I can't even explain.