If you've given WhatsApp your mobile number, then it's your fault that Facebook can read and analyse everything you've said to anyone on WhatsApp, connected to a near-perfectly unique ID against your name.
But it's end to end encrypted, so I doubt Whatsapp is able to read any messaging content. The meta data (who is contacting who, when from where) is probably worth enough for them already.