Just deleting a partition does not delete the data. Creating a partition at the same offset will make all data available again. There are tools to automate that. You want to overwrite its contents.
Windows's diskpart
has a clean all
command that will overwrite selected disk with zeros. You have to boot from a Windows installer USB though or connect the disk to another PC, because you can't erase Windows while it's running. Double check if you have the right drive selected. This will take a while. For multi-terabyte HDDs expect a couple of hours to complete a single pass.
Speaking of third party tools, DBAN is a popular one. Its sole job is to nuke HDD contents.
For SSDs you'd consider other approaches because their lifespan is limited by how much data you write to them. Self-encrypting SSDs have a command that rotates the internal encryption key, instantly garbling all data on the drive without wasting any writes.
Ideally, in the future you could configure full disk encryption from day 1. Then you can simply erase the partition header. Similarly to self-encrypting SSDs, this instantly turns its contents into a bunch of random bytes.