An idea from Groundwork of the Metaphysics of Morals
If nature only wanted you happy, instinct would have done the job better than reason. People who think hardest about how to enjoy life often end up less satisfied. So reason has a different job. Its job is to build a will that is good in itself.