The built in reset should be fine against everything but targeted data recovery attempts, and may be fine against that. If you want real belt-and-suspenders level peace of mind, pay $11 for PartedMagic and do an NVMe Secure Erase, ATA Secure Erase, or NWipe (DBAN equivalent), in that order of preference.
The first two implement full disk erases through code in the drive's firmware, for NVMe SSDs or SATA SSDs/HDDs respectively. The 3rd is the old fashioned "write a bunch of 0s, 1s, and random data over the whole disk over and over again until the original data is undetectable". It's not as effective on SSDs due to wear leveling implemented in the drive controller, it's theoretically possible for original data to go unmodified if the wear algorithm favors other locations on the drive.