Optimism comes from a positive attitude. It is thinking in solution-oriented ways, learning from mistakes, and moving toward your goals.
"Optimism is not thinking only positive thoughts. Optimism is doing something positive with all of your thoughts. "