Attitudes only help in oiling the Social Machinery and is not an excuse to live in "Fantasy Land". That is why we have phrases like "Toxic Positivity", "Irrational Exuberance (in general)" etc. to characterize "feel good" platitudes taken too far. One cannot escape the effects of a distinct and separate "Reality".
Your take on my example does not make sense. In extreme cases like starvation, destitution, homelessness etc. aid workers don't rank the needy on a "attitude scale"; they simply provide the needed services to alleviate immediate suffering in order of priority if applicable.
I think you are trying to argue the inarguable. The reason i feel so strongly about these kinds of platitudes is because they have a) not solved the problem b) caused more harm then good due to wrong interpretations and applications.
As another direct example from HN threads; many people are disheartened because of not being able to land a job in spite of having gone through hundreds of applications and interviews. Here again it is far more important to help them evaluate themselves dispassionately (eg. lack of needed skills, bad communication, non-existent networking etc.) vis-a-vis the competition/market needs/etc. in a clear-eyed manner than just asking them to "be positive" and leaving them with a pat on the back. You need Actionable items and not merely Advice.