Great, this should help other people with similar issues as yours!
Yes, it's a good antivirus but you can try others if you like (Kaspersky, Bitdefender). Malwarebytes has also a free version that allows you to scan your computer but won't protect your computer from malware.
This was a malicious file so I would recommend that you install an antivirus. But do keep in mind that when it comes to MacOS, most malware is installed by the user. Basically a malicious site will show fake alerts to trick you to install a malicious program. I would highly recommend that you also install a free adblocker from your browser, this will remove ads from websites and stop malicious sites from redirecting your browser.