Are you sure this is a mental health issue? I had symptoms like this and found out I have hypothyroidism. Also, women who are beginning menopause go through some of this. Perhaps get a medical workup for this?
Also, please don't feel like a "loser" if you find yourself unable to work. A job isn't a measure of your worth.