Unless you are going premium range, Android is shit. They can advertise all they want, like a 120MP camera, but photos taken with the iPhone's 12MP cam will look better, and when compared, you can really see how much BS Android makers do.
I am a heavy mobile user, as I receive a lot of messages on Slack and Skype from all the people who work with me. No social media, just strict business. Guess what? I had to replace cheaper Androids ($300-ish) every four months because they became laggy. I know some of you may ask me to clear the cache. Trust me, I did all that, even resetting those to factory settings, yet it is laggy. I suspect they use a dirt-cheap CPU or motherboard, which dies after a certain usage. But new Androids had no issue running same apps until 4 to 6 months. And cycle repeats.
My iPhone is going great for years now. No issues. No lags. No replacement.
Need headaches? Well, then go with Android. NGL, Higher-end models in Android seem to be a bit more reliable. Have been using Samsung - no issues except for dated, not so good UI. OnePlus models at ~500 bucks is also good. Having one as a backup for past year or so.
But when going to that segment, an iPhone is better any day as it costs only a little bit more than these. Better display, silky smooth, never lags (at lease for my use case) + great camera.