Question: How do I stop hating humanity?
Answer: The only way to stop hating Humanity is reaching the realization that Humanity is a single, fully integrated and interdependent organism which you are a single cell of. If you understand that your life, survival, well-being all depends on the general state of the whole collective, then you will start loving them instead of hating them.
Moreover then you will also understand that the only reason that so far you hated Humanity has been your own selfish, egocentric, subjective and hateful consciousness, perception of reality.
Then everything turns upside and down and you start hating your inherent nature, instinctive attitude and reactions as they separate you from the body, organism that determines your life! Thus you will try to escape your self in order to integrate into Humanity as quickly as possible!