Friedrich Nietzsche said this quote

One does not hate as long as one disesteems, but only when one esteems equal or superior