“Ask yourself whether you are happy, and you cease to be so.”
The aphoristic warning concerns excessive self-monitoring: repeatedly testing an experience for happiness can interrupt the very absorption that makes enjoyment possible.
Source details
Autobiography, Chapter V; Mill states this within his post-crisis philosophy of pursuing ends beyond happiness itself.