Pixel 2 XL is a good phone, I really did like mine but you will notice a significant downgrade in screen quality I'm sorry to say. My 2XL was pretty good, the blue shift was minimal but the colours were poor. Especially as you're coming from the S10e (albeit a short period of usage) the difference in display will be night and day. The displays are also virtually the same size, just 0.2 inch in it.
Also the 4gb RAM is just paltry in the 2XL - my apps were forever self closing when left idle for anything over 30mins or so. I don't want to sound like I'm hating on the Pixel as I said I really liked mine but it's just 'so 2017'
I haven't noticed that much lag with the S10e - lag was one of the reasons I left Samsung and went with the OG Pixel XL but this newer OS seems fine. You can also go into Developer Options and change the animation scale from x1 to x0.5 which makes a noticeable difference.
Got my Pixel 2 XL, really happy. It is in brand new condition which is great for an eBay purchase at 275. S10e is on it's way back to Samsung for a refund.