If you delete the data from the Macintosh HD, you will have to reinstall macOS on the hard drive.