Deleted in Outlook but not from Gmail

I’ve got my Gmail account configured as an IMAP account in Outlook. I noticed that when I delete a message from my mailbox in Outlook, I can still find it online in Gmail’s All Mail folder.

Is there a way to set it up so that when I delete it from Outlook, it is also deleted from Gmail?