I’ve mainly used an iPhone 13 and a Pixel 7 pro for comparison, but both have consistently worse cameras than the 6T.
I mostly take close-up photos of plants for iNaturalist, and with both the iPhone and the Pixel i have a very hard time getting it to focus on the right spot long enough to get a good photo. The 6T is much better at maintaining the correct focus IME than either newer phone
Not the 12 afaik