So the candidates you supported yesterday didn't get elected. That's okay. The world will keep spinning. Perhaps you were one of those candidates and you feel terrible. Don't. There are hills and valleys in life. We don't always get things when we want them. The same thing is true if you set a goal in a fundraiser for charity and fell short of that number. Again, it's okay. Don't beat yourself up.
There are all kinds of things in our day to day life that might be disappointing. Personally I would like to have seen some different outcomes yesterday. Think of the good though. Focus on that. Concentrate on the things you learned and on the advances you made. If you didn't achieve what you hoped for, try again. One of the earliest sayings I ever learned was that very simple one - and it's true: If at first you don't succeed, try, try again!
Too many people go into depression when things don't turn out the way they hoped. Sometimes it is overwhelming. If it is really bad for you, please get support from others. A good therapist might even be in order. For most of us though, we simply need to brush ourselves off and move again. The important thing though is to not blame yourself or put yourself down. You are just as wonderful now as you have always been!