A “can do” attitude can go too far that you are optimistic about achieving something that is out of the realm of physics or beyond your capability.
You will fall in despair if you keep fantasizing happy outcomes that you can move a mountain or become an overnight billionaire, when it never happens.
You can’t use optimism alone to achieve your goal, but if you don’t think you can, you certainly can’t.