Friedrich Nietzsche said this quote

One loves ultimately one's desires, not the thing desired.