Friedrich Nietzsche said this quote

One does not hate as long as one has a low esteem of someone, but only when one esteems him as an equal or a superior.