Speaking from personal experience here... honestly, I think sometimes I learned more from stuff I did not like than from stuff I actually liked. Why, you may ask?
Because when I see something I don't like I always ask myself "fine, but WHAT is it that I don't like about this?" and then start thinking what I would do instead. Which isn't to say that I think I'm a "better" writer than Leo Tolstoy (just to mention an author I myself was criticizing earlier) or that I feel capable of writing the next War and Peace (lol, I wish :'D), but that knowing what I personally don't like in a work of fiction can provide great food for thought when it comes to my own writing and how to treat certain themes. For example, I didn't like how Tolstoy would make a bunch of characters disappear with no closure at all and, knowing how disappointed I was with that, I know that I'm trying my best to avoid doing a similar thing in my own story, since it's also gonna feature a bunch of characters. With stuff I like I usually tend to go into "oh, well, it's a masterpiece, I love everything about it, damn, I'll never write anything as good as this" and that's pretty much it. Sometimes I find myself taking inspiration from works I like, but I always feel like a "cheater", like I'm stealing from someone who already did the thing much better than me. That isn't really the case when I'm dealing with works I don't like, because, instead of "imitating" them, I'm trying to do something different. In a way, both manage to inspire me, but works I don't like usually give me that additional spark of creativity to actually change things up.
Besides, saying "I don't like X" is wildly different than "hating" on something. There's a difference between criticism and unjustified hate, and so far I've seen none of the latter in this thread. Everyone has been listing the reasons why they don't like a certain work and even when their motivation was simply "it didn't resonate with me" they were still polite about it and never attacked anyone else for having a different opinion.