Google Pixel hardware is focused on providing a private relationship between the user (your data and behavioral patterns) and Google.
Depending on your threat model you can flash custom roms to enhance your privacy and security posture.
A lot of folks here seem to be of the “…just flash GrapheneOS and you’re good…” crowd but it’s not that simple and there are trade-offs that impact usability and user experience.
There are a lot of interesting projects out there to choose from. Best advice is to work-up your real world threat model and do your reasearch.
You may find Louis Rossman’s experience with GrapheneOS relevant: https://www.youtube.com/watch?v=4To-F6W1NT0&t=1
Here’s a few links to help get you started - there are many android projects. I am not affiliated nor am I explicitly endorsing any of these projects.
CalyxOS https://calyxos.org/
LineageOS https://lineageos.org/
HavocOS https://havoc-os.com/
ResurrectionRemix https://resurrectionremix.com/
DerpFest https://derpfest.org/
PixelExperience https://wiki.pixelexperience.org/
GrapheneOS https://grapheneos.org/
Not wasting a good high on work WILL set you apart.