Android obviously has a huge variety of different phone manufacturers, and many of them really suck, and many more are just mediocre. I think it would be harder to argue that iPhones are now (or in the past 5 years or so) significantly better than a Samsung or Pixel flagship.
I personally own a Pixel and my spouse owns an iPhone, and besides the familiarity there are many features I love more about my phone (particularly the call screening and other call automation features). The biggest downside, which may unfortunately actually cause me to have to switch to an iPhone at some point, is Apple's monopolistic behavior with iMessage: I'm often the "odd man out" in group chats and the presence of my Android breaks the experience for me and all the other iPhone users in the group (video quality is in the toilet, messages can randomly get dropped, emoji reactions suck, etc.)