If you are deleting the /data, /system, & /storage partitions, then yes, the WhatsApp data will be removed, however, if you're performing a Factory Reset, WhatsApp will be deleted, but the data will be stored allowing you to use it next time WhatsApp is installed.