Indeed but as long as you're not doing it with a view to attaining happiness somewhere down the line.
I like to think of it as the difference between looking at the world with both eyes wide open and taking in every single detail you can and looking at the world in your peripheral vision only.
You've still got your eyes wide open but you take in so much less because your focus is in the wrong place.
RE: Don't Worry, Be Happy... That Phrase Means More Than You Think!