Android can't be secured unless it's stock with verified boot/ root of trust. Even then, the verified apps from the store leak your data at every opportunity, as does the OS. iPhone is the way to go
I avoid discussions which say one of them is "the way to go".
Both are acceptable in my point of view. Both have their drawbacks and benefits.
iPhones for example have had massive security issues in iMessage and still prevents other (more secure) apps to receive SMS. Why?
iPhones could all be targeted with zero click attacks of Pegasus because they have a consistent OS throughout all devices.
Are iPhones bad because of this? - No! But iOS vs Android must not be a religion (same for Windows vs Unix)
Due to the $99 annual Apple Developer Program membership fee required to keep apps in the App Store, iOS has a rather paltry selection of free and open source apps. On the other hand, Android has an excellent selection of FOSS apps in F-Droid. Apps on F-Droid are reviewed for data collection and other privacy concerns, which are disclosed on the listing. Nearly all F-Droid apps have no such concerns.
iPhones for example have had massive security issues in iMessage and still prevents other (more secure) apps to receive SMS. Why? iPhones could all be targeted with zero click attacks of Pegasus because they have a consistent OS throughout all devices.
Are iPhones bad because of this? - No! But iOS vs Android must not be a religion (same for Windows vs Unix)