I'm thinking of selling my pixel 8 and before doing that I know I should wipe the phone entirely. I am cautious when it comes to handling my data like writing 0s to HDDs (even multiple times with some randomness) on PC whenever I'm handing them out. But I'm not sure about phones.
To further expand on this, you need to pull the storage drive and use an electron microscope. So if your stuff is not important to afford electron microscope time then you're fine with wiping the encryption keys.