A bit out of the loop here... who are you saying has the better photo quality now, Pixel or Samsung?
Pixel is assuredly NOT leading in video recording quality though. And the overall package still matters: for example X% superiority in still photos didn't make up for Pixel 6 having a very small photo buffer / a slow camera startup speed. Didn't make up for lens cracking issues in Pixel 7. iPhone just works.