Steps for how to clear a hard drive on macOS Launch Disk Utility. Click the hard drive (left sidebar). Click Erase. Choose a Format and Security Options. Click Erase and then click Done.
Select your hard drive, then select Security Options. From here, slide the slider to Most Secure. Follow the prompts asking if you really want to erase the drive, and sit back while it runs.