Too much optimism is forbidden

Why is unrealistic optimism bad?
The consequences of unrealistic optimism are likely innocuous or even positive in the short-run (reduced anxiety, persistence toward goals), but negative in the long run (increased likelihood of negative outcomes due to increased risk behavior, failure to take precautions, or insufficient preparation).