Coming from a Pixel 5 to the iPhone 14 Pro, I gotta say I'm pretty disappointed. The pictures are mediocre at best, and just plain bad in dim light especially. Google's computational photography is years ahead. The latest Pixel has better sensors too.
I think google computational might be better in some edge cases, but it comes at the cost that sometimes it over-processes things: some textures look painted on my pixel photos, some night shoot feel "cool" but do not capture what I'm looking with my eyes at all, no matter my settings. And with portraits I have this feeling sometimes that I capture a nice image only to see it somehow ruined when the processing ends, with the face that becomes too "beautified" (smooth skin, etc).
I feel the iPhone computation is overall better for the most common lightning situations and maybe less aggressive, but I would need to test it for way more time to form a more complete opinion.