I have recently upgraded to an iPhone 17 Pro Max from iPhone X (yes, I buy once a decade or so), and I also take photos with a A7-III.
The latest iPhone takes shockingly good photos. It's not a full frame mirrorless by any stretch, but it's really in another league when it comes to mobile photography.