Junk mail rules not working in Mac mail
I use Google Mail on my Mac air and the rules I have set up are not clearing the junk. I have the following boxes checked in the settings on my Mail Preferences: Enable Junk Mail Filtering and Perform Custom Actions. Under the Advanced tab, I have it set up If message is Junk Mail, move to my Gmail Trash and Mark as Read.
What setting do I have wrong as I am getting 40-50 junk mail messages in my Junk Folder daily? If they're identified as Junk, they should be going to the Trash based on what I have set up.
Thanks in advance for the help.
MacBook Air 13″, macOS 10.15