I bought a new Android from HTC back in 2011 that never got a major update and was completely unsupported just 18 months after purchase. Stuck at "Honeycomb" in an "Ice Cream Sandwich" and "Jellybean" world. Most new apps wouldn't even run on it. Android was fun as a "hobby", when I installed all sorts of mods. iPhone just works, is fully supported for many years and Apple takes privacy far, far more seriously than Google.
I believe unless you buy a ‘flagship’ Android phone even today, you’re very unlikely to get even on OS upgrade. And, unless you’re buying the phone through one of the premium carriers, you’re probably only going to get a year or two of security updates.
I had been an iPhone user since its inception. But, when the Galaxy Edge came out, I bought that because I loved the immersive nature of that (at the time) huge screen. I used that phone for 6-months and while the hardware was fine, I got sick of Android’s problems quickly including the inability to uninstall certain apps even though it was a factory unlocked phone. I haven’t bought an Android phone since.