I have lost all motivation in life?

I had been working very hard on a project and failed. I put so much time and effort.. My heart and soul into it. My life had been going unusually great and I was very positive until that happened. It caused me an emotional breakdown and now I don't have any motivation to do anything. I have isolated myself and can't get out of bed. I'm no longer interested in my future and I don't know who I am anymore, I feel like I lost myself and I feel so so so worthless. Every bad thing I've done in life is suddenly on my mind all the time. I wonder what the hell I've done with my life. I don't have the energy or motivation to get upon my feet and start all over and do things I have to. I feel worthless. What can I do?
I have lost all motivation in life?
Post Opinion