It’s not that simple. Modern drives include sparing mechanisms that automatically replace weak or defective sections of the disk with spare sections of the disk. The section can be a block or track, depending on the design. That means that as the drive is used, and ages, sections of the disk are taken out of service and replaced with spares. You can overwrite the disk 1000 times with random data and you will still have sections of the disk that may contain sensitive information. It may be difficult to access, but it is there.
I’ve read the NSA’s guidelines for the disposal of media used to store classified information. For modern high-coercivity media, physical destruction is the only acceptable method.
There are techniques available to a well-equipped lab that can recover data from “erased” disks. They may not be able to recover all, or even most, of the data, but recovering 5% can still yield useful information.
Techniques like writing a set of patterns to the disk are useful for sanitizing a computer that is being switched from processing classified information to processing unclassified information. Still, the disks must be removed and destroyed before the computer is allowed to leave government control.