When you type a message into WhatsApp, it is unencrypted. When you send the message it is encrypted. When the person receives the message it is unencrypted. The WhatsApp servers will also get a copy that can be unencrypted.
It is only the bit in the middle, ie the internet, that is encrypted...