Compare images side by side, especially at indoor lighting levels, and you'll see just how much more detail even a 10 year old micro four thirds or digital SLR captures compared to the cell phone camera. Capture some images around 6400 ISO, too, and you'll really see what a mess cell phone cameras are.
There's no getting around physics - the larger the sensor well, the more light it can collect and convert to electrical impulses. Top end cameras from Canon, Nikon, and Sony have been bumping up against the limits of physics for a while now - efficiency, noise, etc.
My m4/3 camera which is now 10 years old still takes better pictures than any current cell phone camera on the market.
In my experience, the current iPhone SE produces very slightly more detail than a m4/3 Lumix DMC-GX80. Which is crazy, because the iPhone's lens and sensor are tiny compared to the m4/3 camera.
However I agree that there are times now where I can confidently use my phone where 10 years ago I would have had a dedicated camera. Phones are only going to keep getting better!
The 12 megapixel sensor in the 35mm format is still much better at gathering light (without any fancy AI manipulation) than any modern small sensor camera, and the few Nikon lenses I still have around—one manufactured in the 70s—are extremely sharp and still great for many situations (though lens coatings, even on tiny sensors and smartphones, are vastly improved nowadays).