Julian Barnes said this quote

Remember the botched brothel-visit in L’Education sentimentale and remember its lesson. Do not participate: happiness lies in the imagination, not the act. Pleasure is found first in anticipation, later in memory.