I can’t speak on the Samsung but I have a Pixel 7 and I am pretty satisfied. My main complaints would be that it heats up a bit with 5g which I prefer to not use anyways and the battery charging is pretty slow without USB C. I can’t speak for software issues though as I flashed a custom ROM since the first day I bought it, and is the main reason I bought it.
However I think that if you have the extra money and are not going to do any of the custom ROM stuff then the Samsung would be better no doubt.