DeletedUser26 Well I’m not sure what you mean by profiled
I mean Apple making a profile of you and your habits, data, files etc. to (ab)use sometime now or in the future in means we can not predict. 10 years from now, Apple might get a leadership change and publicly decide they're an ad company now (I'd call them an ad company already, just secretly). Your most obvious profile is your Apple ID that they force you to do in order to use your iPhone in any meaningful way, but even if you try to avoid that or give them false data, they can easily identify and profile you in many other ways. By default, Apple and Google have more control over the device that you bought and "own", and on Apple devices there's simply no reasonable way of changing that.
DeletedUser26 I’m concerned about protecting my files and personal data like passwords accounts etc from thieves and data breaches which iOS does well against.
There have been leaks every once in a while, most famously the Fappening incident. Yes Apple is one of the best in the world when it comes to protecting your files, but it doesn't matter much if they have a major leak every 5 to 10 years. The only way to protect your files and data is to not share it at all in my opinion. But that's not always feasible, so the second best thing is to compartmentalize over many services so the inevitable leak doesn't get you into much trouble. On iOS, you need to opt out of iCloud synchronization to not have all your data in one place online (and as mentioned you need to have an iCloud account that collects at least metadata and then some).
Yes I know that most of what I write is oversimplified, and Apple likely does not collect everything because they know of the risks involved. I could be more detailed, but this post is already getting too long and I'm trying to bring a point across.
If you have the chance and time, listen to The Hated One Podcast episode 79 from 2022, and watch the video I linked further above in this thread. I wouldn't trust Apple to keep my files offline and secure if I had to use iOS.
Everything I wrote counts just as well for Google, Amazon, Microsoft, Facebook etc.. Apple is better than many, but far from good enough or trustworthy in my opinion.