Pen to me means a lot. Signing documents, annotating screen shots, remote control of the device, etc. Another thing that Samsung is superior at is servicing your device after warranty is out. I still have a pair of S7 Edge phones looking and working like new. At some point (5-6 years of use) screen developed a purple line. It cost me 160€ to replace screen and Samsung authorized center replaced metal body, battery, buttons as well, all for free. So I got a new phone basically. My parents are still using my now 7 year old phone. And Samsung still offers spare parts for them although they have to be ordered now so there's a slight delay. Bloatware is not a problem for me as most can be uninstalled and the rest can be disabled. Sure it's not pristine but it works and there's no garbage I don't want. Samsung also makes it very easy to move to another Samsung device. Literally all of your settings, wallpapers, files and applications are moved to another device. This is a no brainer for me. Maybe Pixel devices have this as well, but I haven't used it. I do know in my country Google doesn't have authorized service centers so finding parts might get difficult.
So all in all, you have to be frank with your about what is it what you really want. If you want closer to stock, Pixel is probably better in that. Samsung on the other hand has a lot of features I've grown to like that Google doesn't offer, pen being the huge part of it.