I really don’t agree, and honestly it depends on what categories you’re judging it on.
Film cameras from 20 years ago probably have better dynamic range than your phone. They probably have comparable resolution. You have a lot of options with lenses, so you can get lots of different looks.
Full frame size lets in lots of light. Photography is all about light - no amount of processing is going to make up for the size of a sensor on an iPhone. Let’s not even bring medium format into the discussion.
Hell, I’d say they could take photos that were technically superior to iphones over 100 years ago with tintypes and such. (Film was actually lower resolution than what came before it. ) There are lots of stunning portraiture, with a lot of clarity, from the start of photography that would be impossible to replicate with modern cameras.