Whatsapp does not have e2e encryption. They encrypt message traffic in transit between endpoints and their servers, but they have visibility to the data. They can and have retrieved messages for law enforcement.
End to end encryption is something fundamentally structurally different - only the two end points can decrypt the message.
Alice sends Bob a message. If only Bob can decrypt it, it's e2ee. If meta, the nsa, cia, IRS, post office, and random dudes on the internet pretending to be law enforcement all have access to the message, it's not e2ee.
Meta/Facebook sold the illusion of security to the masses. Let's not pretend they're the good guys.