You can't root US versions of S22. Also, even for some other regions where rooting is possible, you'll lose some features forever because Knox will be tripped.
Anyway, Samsung is quite good nowadays - pretty much all useless extra Samsung apps can be either removed or disabled without root and Good Lock + Theme Park allow for lots of customization. System updates are coming monthly. UI is very smooth. So, not many reasons to root, really, it doesn't force you to use "Samsung ecosystem"...
Having said that, it is still an extra work to disable, add and configure things to make them behave close to the stock Android. And, of course, Pixel's camera app has FAR better quality than Samsung camera app, so general photo quality of Pixel 7 Pro will be better than Samsung Galaxy S22 Ultra with stock camera app (except for the highest zoom levels - and this is the single reason I got S22 Ultra). GCam ports can be installed but this is not a perfect solution, and, again, extra work.