did you decide on which phone to buy ?
I bought an iphone 12, 5 months ago after being a long term android user (since 2014). It was a wish to try out iOS and i have realized it's just not for me.
It's very troublesome with no file manager and hard to move files to pc. other issues members have already mentioned above. other things i hate is u cant simply turn off GPS with one button, need to go to settings. also, iphone will automatically turn on wifi and bluetooth after some time. free icloud storage is only 5 gb, that will be over in 2 weeks, then daily reminders to upgrade icloud.
also couldn't use tachiyomi (manga app) and cracked spotify that i had on android. Finally had to take paid spotify. My whatsapp hasnt been backuped in months, since apple only allows backup to icloud, I will probably take an icloud subscription. Also, you cant install an adblock in your browser. (I was using ublock origin extension on firefox on android for years). I have basically stopped browsing on my phone. The keyboard and typing experience is absolute trash. Putting Gboard makes it little better but still shit.
But, there is many things that has blown me away on iPhone too. The camera you can trust to take good pictures, just point and shoot. Also, this is the first phone where i go on long journeys (bus, train) without power bank. It's easily a 1.5 day battery for me. I recently lasted 15 hours without charging, on a trip across 3 states, got 7 hours Screen on Time, Location was on the full time. (this is with power saving mode turned on).
I plan to buy a used S22 Ultra when S23 Ultra releases, if i can get a good price. But iPhone is such a reliable phone so i will probably keep it as my secondary phone.
If i was in your shoes, I would have picked the pixel 7 pro. It is the best phone released this year imo.
Finally to answer your question, you want your phone to last 3-4 yrs without any hitch. Then iPhone is the better option.
Pixel 6 & 6 pro were amazing phones, tech youtubers were all recommending them when it launched. One yr later, there has been so many bugs and issues, nobody is recommending them now. That wont happen on iPhone.
Who knows how pixel 7 will be in 3 years ? Google has not released a single phone which has lasted 3-4 yrs (as far as i know).
One last thing, warranty and service centers for Pixel in India is terrible. From kerala if i want to repair it, I have to send it to Mumbai. (or go to local shop and void warranty). iPhone repair stores are dime a dozen.
All the Best !