iPhone 12 Pro vs DSLR

The problem with buying second-hand cameras includes whether the lens/mirror is scratched or irretrievably dirty. I get you could replace lenses with new ones and probably get the camera refurbished, though. But it’s all money.