If you have the MEDIA AUTO-DOWNLOAD and Save to Camera Roll settings are enabled, deleting a photo from WhatsApp will NOT delete it from your iPhone gallery.