As far as Android is concerned, you have multiple manufacturers making Android phones, so some will be better than others. To date, my previous Nexus 6P has been the best phone that I've owned. My current Galaxy S8+ is pretty decent, but I still think my 6P was better. GBA, you'll have to let me know what your impressions are of your new Pixel 2 once you've had it for a little bit.
I've played around with it at home already. I'm just not taking it out of the house until I have a case. If you loved the Nexus 6P, you'll love the Pixel 2 XL. The biggest reason to love the Nexus was the stock android experience, and that remains the biggest reason to love the Pixel. From a hardware point of view, they really aren't that different, but the Pixel 2 XL seems to be an improvement on every front. It's IP67 dust/water resistant (30min submerged at 1M), curved front glass (not as much as the Samsung S8, but still looks/feels nice), quality materials and industrial design. It has squeezable sides that you can use to call up Google Assistant (in addition to saying 'Ok Google').
UNLIKE the S8 and other flagships, it DOES NOT have wireless charging. I've never used wireless charging, so I can't say if I miss it or not, however, I definitely know I would miss those front facing speakers as well as Stock Android. I'm sorry, but Bixby has nothing on Google Assistant.
Oh, and the camera? OMG. Reviewers are saying its the best camera in a phone, and from the pictures I've taken, I agree. For one, it's Optically Image Stabilized. You can see the camera lense moving around within its housing. Second, the software they use to process photos is unbelievable. You have to try the Portrait Mode. It keeps the subject in focus, and blurs the background. The results are stunning.
Ultimately, it comes down to wants. Do you want wireless charging and a beautiful screen? Go with the S8 or Note 8. Prefer the Stock Android experience over everything else? Pixel is the way to go.