You do have what it takes. All it takes is another try. Giving up makes no sense when the only real difference in what is perceived as a "failure" or a "success" is that the person we deem successful kept on trying. Sometimes, countless tries.
Take a break, but don't stop trying.