All science is built on the backs of the “content” created by generations upon generations of our predecessors, many of whom were far from saintly.
Schrödinger was a pedophile, but his equations are some of the most important and beautiful equations in physics.
Newton was an asshole, but his contributions to math and science are unavoidable in any STEM field.
To blanket disregard content simply because it was authored by a bad person is not a valid stance at all, but also, it is quite literally the hateful option since you are asserting your hostility towards a person and even to anything remotely related to them. That is the definition of hatred, not love.
I don’t have a horse in this race. Maybe it is beneficial to boycott the consumption of Harry Potter media in general. But you are wrong to assert that content created by a hateful person is fundamentally unhealthy to consume.