This is a common wrong understanding.
WhatsApp is end-to-end encrypted by default (using same protocol as Signal) and there’s no way to disable encryption.
On the other hand Telegram chats are by default unencrypted ... you have to specifically start a “Secret Chat” to benefit from end-to-end encryption.