There’s a trick to thoroughly wiping all your data before you junk your old external solid state drive—or even computer.
The Windows tool Diskpart overwrites all data on the hard drive with a zero, which is considered a secure deletion method. This applies at least to classic hard drives, i.e. HDDs with magnetic discs.
What this means is that the deleted file is not fully gone and can still be recovered. It's only when the data is overwritten ...