Rather than hating others, the Hebrews are called to display love towards their neighbour. If they see others in need, they should see that need as their own. The expression of love for other people must manifest itself in coming to their assistance.
18 You shall not take vengeance or bear a grudge against the sons of your own people, but you shall love your neighbor as yourself: I am the LORD.