If you download and install apps from the internet or directly from a developer, macOS continues to protect your Mac. If there’s ever a problem with an app, Apple can quickly remove it from the store.
Apple reviews each app in the App Store before it’s accepted and signs it to ensure that it hasn’t been tampered with or altered.
The safest place to get apps for your Mac is the App Store.