P.d. James said this quote

The secret of contentment is never to allow yourself to want anything which reason tells you you haven't a chance of getting.