Hello, Lantern4me.
In order to erase and restore the macOS on the startup drive, you have to boot the Mac in recovery mode. Do this by restarting the Mac, and when you hear the startup chime, press and hold the Command-R keys (⌘R) until you see the Apple logo and progress bar. When the Mac finally displays the macOS Utilities window, you can select Disk Utilities and proceed to erase the internal drive and then reinstall a fresh copy of macOS.
Please see:
What to do before you sell, give away or trade in your Mac - Apple Support