This is one question many do not have the answer to. However, it is an important one. God does hate. From a biblical perspective, God has hated, hates and he still will hate. Esau was hated by God, God hates workers of evil (yet he loves them and wants them to repent?), God hates the devil. Some holier than thou people try to shame others out of hating.
They say, “but God does not hate, God is love”. Just as God is love, He is also vengeance and hate. There is such a thing as righteous anger you know? The same goes for hate. Hate can be righteous. Tell me anyone who loves satan (that is not a satanist or worker of evil)?
We have enemies in this world that we can never win over. The question is should we love them? If God hates certain things, can we also? My answer is yes. The difference is not letting hate consume you as it does to some unforgiving people. Hate sets the boundaries of what you stand for and the things you are not for. I cannot expect someone to love the devil, why then will we expect ourselves not to hate him?