Who the actual fuck said this to you? Google is one of the worst companies for privacy.
I mean i guess with a pixel, you're just being spied on by Google rather than Samsung + Google if you buy a samsung android, so in that sense, sorta? But saying a pixel is good for privacy in general is an absolutely ridiculous statement.