It's understandable to think of love in the OT in terms of love for God or love for his commandments and apart from that see nothing but hate for those who don't accept that god or break his laws. You can see lots of evidence of hatred in Leviticus and Deuteronomy where the curse is laid out for those who won't live according to the law. Very few people comment on the blessings. And even fewer talk about the laws demanding right behaviour towards the alien residents in the land, along with the duty towards widows and orphans. One of the most enlightened laws concerned the freedom from servitude which came about legally during years of Jubilee. According to the OT, the laws were not obeyed so that the love of God could shine through and that's why they lost the blessing and suffered the curse of annihilation or exile.