A phone probably could have done similar
Did you zoom at 100% ?
Because at the pixel level, of course !! there is not even a "probably". There is absolutely no doubt about that,
especially provided I used to keep base ISO, closed down the lens a lot, and messed with stabilizing the thing, as pointed above ! This is actually the worst you can do with the camera

and I surely didn't post it to emphasis any technical ability.
But anyway I don't like pressing virtual buttons on a screen, or handling a screen. Besides, I like being able to get a bit wider angle than a smartphone, or crop with a zoom lens instead of just loosing resolution by cropping in sensor.

100mm FF eqvlt, G7XII resolution
Even for this one, very soft indeed, so as to get the perspective I wanted (with the full stand lamp, the street large enough, the bridge with a good size and the boxes on the right), I had to step back a lot and zoom as far as 100mm (FF eqvlt). With a regular 33mm phone, I would have needed to crop like 3x, thus dividing the pixel count by 9. I don't know what the regular smartphone resolution now is, but even provided it is now 18MP (which I'm not sure), the crop would have left you with a rather poor 2MP. So after thinking a bit, I'm quite confident that the G7XII is at least as good as a smartphone. This is a 2MP resolution that a smartphone can deliver at this FL :

Smartphone-like resolution. Full screen on my UHD display, the G7XII full res version is MUCH sharper.
Everything a compact adds to this makes it better than a smartphone, even in such an easy scenario (again : base ISO and stopped down so a smartphone can easily match).
And this one is out of reach for a smartphone :

This G7XII one is like 22mm wide.

This crop is more like a smartphone angle of view. No need to pixelpeep : the difference is obvious : 2 towers and half a tree are missing.