Or you could interpret it charitably, where the person states that when looking at actions after the fact, it can be said that being optimist about an action that turned out to not work caused you to waste time.
Past tense is hindsight. Optimism/pessimism is a future tense attitude.