Does this laptop use a hard drive or an SSD?
Was Filevault enabled on the drive before you erased it?
These are important details since hard drives and SSDs work differently and require different procedures to make sure the data has been destroyed or over written.
If the laptop uses an SSD, then the data has been destroyed due to how SSDs work. So if the laptop has an SSD, then you are done.
If the laptop uses a hard drive, then the data is only destroyed if Filevault was fully enabled at the time you erased the drive.
If Filevault was not enabled on the hard drive when you erased it, then the data is still hidden on the drive since Disk Utility by default only performs a simple erase by creating a new partition table which still leaves all the data hidden on the hard drive. For an unencrypted hard drive, you must erase the drive by writing a single pass of zeroes to the whole hard drive so that any data hidden on the hard drive is overwritten with zeroes. Unfortunately I don't think the macOS Disk Utility GUI interface allows for a "secure erase" option anymore because it would cause unnecessary wear to an SSD. It is possible to use the command line to write zeroes to the hard drive either using "dd" or possibly even using the "secure erase" option of the command line utility "diskutil" (command line part of the Disk Utility app). You will need to boot into Internet Recovery Mode using Command + Option + R in order to access the Terminal app to use these command line utilities. ShredOS is a free open source option which will make a bootable USB stick which can be used to write zeroes to the hard drive. You will want to download the 64bit version of the .img file and use it as a source for Etcher (Mac/Windows/Linux) which will "burn" the image file to a USB stick and make the USB stick bootable. Option Boot the ShredOS USB stick and select the orange icon most likely labeled "EFI".