All is not lost. You recognize that some parts of your emotional well-being appear to be functioning correctly, even though you may find yourself in a constant struggle to exist.
At this point, it is necessary to acknowledge that some pieces of yourself can be salvaged—if you will. To maintain what you consider life, you look at what seems to be working and what is not. During this process, you sift through old habits and rediscover the motivation and optimism buried underneath the overgeneralizing and self-defeating thoughts you may have lying around your mental headspace.
However, now that you have found your motivation and optimism, it is crucial to understand that, at this time, these are merely words that are void of meaning as they have not been of any use to you in quite a long time. Therefore, you must redefine them. Though it may sound like an easy feat, it will take some time to establish what these words mean to you personally and how you can attach them to your circumstances.