starglider Google is capable to make the Pixels far more secure than GrapheneOS did but Google is not privacy-friendly and as for the security, they do the bare minimum on stockOS.
They have billions, some of the best security experts, Google is behind Android.
GrapheneOS (as a software) is better than Google because developers are doing everything they can to make the OS everytime more secure and private.
Google development team is not free to do what they want. They can't make more than what is asked them to do.
Google is maybe just not interested in making stockOS more secure or is voluntarily helping companies like Cellebrite to exploit Pixels.