I feel like I failed...

So...I had an interview yesterday and a few hours after my interview, I got an email saying that I wasn't chosen for the position...and ever since then I've just been distraught. I'm guessing I wasn't capable for the job, which I understand. I don't have much except for volunteer. I just feel like I failed. I feel like I'm not good enough for anything. I'm just so sad and I just don't see the point anymore. I've applied at positions at my university but I doubt that it will work out. I'm too shy and anxious and nervous. I've applied at a lot of places but none of them are working out. I just hate how people look at me, like I'm spoiled and lazy, when I'm not; I'm just not lucky. I want to just give up but I'm too stubborn to, so what should I do?