Intuition says that advice is for whatever it is inherently worth.
But advice contains a worldview. It has the effect of channeling your attention towards better or worse aspects of reality.
I suspect it is better to take advice from happy people. It is not just the quality of advice, but rather the approach that makes the difference.
I wonder what should one do when he feels that a depressed freind has mroe relevant and practical advice than the happy one.
Certainly, reality has value. But it is less than it seems. Because the energy element and positivity you get when talking with happy people versus the depression self-reproach and negativity you get from depressed ones, that may be much more crucial than the reality gained from a depressed "smart" guy.