There is a whole lot of history that you seem to be ignoring.
I think the disconnect here is that you’re asserting that certain stories over the many decades have witchcraft as content, period. Meanwhile what I’m pointing out is that Harry Potter books have had a particular behavioral effect on young readers.
So of course there have been stories about witchcraft for many centuries before Harry Potter. But none have caused so many young people to want to act it out as these books by Rowling.