Right, it's pretty simple.
Note Pros: S-Pen, Best display on an Android, great camera, Samsung Pay, Wireless Charging, great SOC, lots of RAM
Note Cons: Not the best software, very weak update support, very weak on security updates, very weak on supporting new version features, all glass body, edge display, no 128 GB storage option, micro SD slot, etc, etc.
Pixel 2 XL Pros: Best software, best security, guaranteed updates, unlimited storage for photos/videos at full res, best camera, 128 GB storage option, same SOC, very good display, Lens, Project Treble, etc, etc.
Pixel 2 XL Cons: Some people experience blue tint issue on display, no headphone jack (for the 50 people who absolutely depending on charging and listening to aux. audio at the same time, etc.
Or we could leave it in the words of Jerry, "We need to realize we're paying Samsung $900 for a superb display and very usable software when we buy the Galaxy Note 8, but we're paying Google $900 for a very usable display and superb software."
So I guess pick your priorities and spend your dollars accordingly.