> WhatsApp is end-to-end encrypted

Don't forget that metadata is not encrypted, so Meta know who you are writing to, who writes to you, who your contacts are, all the usage pattens of the app, and more metadata (not sure if it's still the case, but a few years ago WhatsApp even uploaded the battery state of your phone to Meta).

Sure, end-to-end encryption encrypts the data, it doesn't hide the metadata.