"The fear of the Lord is to hate evil, pride and arrogance and the evil way and the perverse mouth I hate." Proverbs 8.13God is the Fountain of Justice. He hates sin because it is a transgression of the Law, Order, Justice and Discipline.
The devil is the fountain of injustice, this is why he loves sin and everything else that is evil.
Therefore, those who love the LORD hate sin and run from it. They are disciplined.