Phones absolutely suck.
Even my oldest camera (soviet brick from the 1960s with a lens design from the 1930s) can take better photos than even high end phones today.
In therms of just sharpness, they might be close, but nobody is going to view your images at more than 4K resolution anyway.
What matters more are:
>light
Gotta have good light, somewhat diffuse and coming from where the camera is
It needs to be ballanced with your background.
Video lights are the easy way, fill flashes the hard way.
>focal length
You want at least 50 mm focal length equivalent.
>aperture
You want a large aperture, phones have tiny apertures.
A 50 mm f/1.4 lens for example has an aperture of 36 mm, a phone has maybe 3-4 mm.
>ND filters when shooting in daylight
Most cameras can't shoot with an open aperture in daylight because it lets in more light than the sensor or film can handle, even at base ISO
(Yes, CMS 20 can be shot at ISO 16 but that's the exception)
>dynamic range
Proper sensors and negative film have much more dynamic range than tiny phone sensors
>editing
Straight out out of camera, your shots might look OK, but with a little editing they can look great.
That is why I can take better shots with an ancient, purely mechanical soviet brick of a camera than you can with a phone