If you want the best Android experience you’re not going to do better than a Pixel. It’s a Google OS, on Google hardware. I myself am looking forward to the Pixel 8 Pro.
Hardware wise, Samsung may meet or maybe even exceed Google’s line, but not significantly enough to make a difference in my opinion. Especially with the newer Pixels, it’s a pretty mature product at this point.