I imagine few who have used one would ever be able to say this with a straight face. I never met an iPhone user who believed me when I told them all the photos I was showing them were taken with an Xperia XZc (1 and 2, respectively) and that's with every single one of them. There may be half a dozen compact smartphones that really compare to the XZ2c. Sony just gave up on them because the herd loves their phablets so much.
I am also a current owner of the Zenphone 8 and its camera is also decent. If it's really important that you be able to snap the best photos possible, though, they've been developing these discrete camera things for over a century (and the best of them will likely continue to outperform any general purpose device for the foreseeable future).