What makes you think GrapheneOS is any better? Yeah its open source but it must be looked at a lot less than any iPhone. Is security by 'open but not as well examined' actually more secure?
This specific example is kind of a bad place to prove that generally correct mindset.
I seriously doubt the developers of GrapheneOS have really done as much due diligence on their custom ROM as Apple has done on iOS. For one, Apple controls the whole stack down to the CPU. GrapheneOS is forced to rely on many external parties to not be hostile from Google with their Android stack to the Linux base to whatever the SOC maker has put into their silicon.