Optimism is not inherently a superior way of viewing the world. Certainly doctors will say it might be better for one's physical health to be an optimist. But, morally speaking it may not be appropriate in certain circumstances.