This is often a macOS Gatekeeper error. Go to System Settings > Privacy & Security and ensure you've allowed apps from "App Store and identified developers."
Open (or your preferred browser) and go to dropbox.com. download dropbox to macbook
How to Download and Install Dropbox on Your MacBook: A Step-by-Step Guide This is often a macOS Gatekeeper error