Here’s an incomplete list of things that God hates:
Taking his name in vain.
Being delivered from that? God loves that. In fact, he sent his Son to die that we might be delivered from the kingdom of the devil, both the bondage in our own hearts as well as the bondage inflicted upon us from others.
Again, “God hates divorce” is nowhere in the Bible.
Another thought on that:
Capital punishment and other criminal penalties are also not part of God’s perfect plan of creation. But to say then that they are forbidden by God and hated by God is a stretch of rather sketchy exegesis. They are necessary because we live in a world of treachery and oppression.
So also divorce. Sure, God didn’t create the world with divorce as a part of his perfect plan of creation. But that isn’t the world we live in now.
“Because of the hardness of your hearts Moses wrote that.”
As long as men’s hearts are still full of evil – reviling, drunkenness, brawling, idolatry – divorce is still necessary, just like capital punishment will still be necessary as long as there are murderers.