If it weren't for Samsung crap like pre-installed Facebook and other bloat, unremovable Samsung apps etc. I'd go for one because I really like Dex, the fact that they put latest hardware available in their flagship etc. But considering things as they are, I'd choose the Pixel.
Even their keyboard wants to connect online and access to your contacts. Kinda creepy. If you get Samsung there's a ton of stuff you need to disable privacy-wise. But yeah their hardware is amazing.
There are options for debloating (like uninstalling via adb) but the thing I read about camera no longer working after flashing a custom rom made this piece of crap I am writing from my first and last Samsung.
Good luck with your Pixel