the whole magnet and hard drives thing is a really old hoax.
with normal household magnets or even strong neodym magnets nothing will happen to your data but if you have a really strong industrial electro magnet at hand you can wipe a drive with it...
here is an old national geographics video on the topic https://www.youtube.com/watch?v=U8LWTe5CqQg