It certainly doesn't offer the performance, and Android phones never have. If I look at the 6a, it offers marginally better performance than the iPhone X, and that came out in 2018.
https://browser.geekbench.com/v5/cpu/compare/21110537?baseli...
and using your example an iPhone 12 Pro is much faster:
https://browser.geekbench.com/v5/cpu/compare/21107401?baseli...