Whenever something bad happens for a theist, one thing that I often hear from some (or if not all) of them is "it's God's plan". At first, it sounds like rubbish, but if you analyze the intent behind why they believe in such nonsense, what they're actually saying is that they need a reason or justification for believing in themselves and believing that there is some order to the relative chaos in their lives.
As Atheists, we don't have the same supernatural kind of reassurance. We know that we're born into this world as a result of a long line of primates that have gone through an indefinite process of natural selection. There is no god, and the only reason why we're here is because we were the most fit among our parents' genes to become an embryo and subsequently develop into a human being.
So in layman's terms, if things go bad, what kind of reassurance do we really have? I thought about this problem for a while, and it turns out that while there is no supernatural reassurance for why things happen the way they do, there's a "natural" explanation that I often tell myself when things just don't go my way or whenever I have doubts about myself and my abilities.
What I do is that I tell myself that I (for a lack of a better explanation) was "naturally selected". No, this isn't some crazy illusion or delusion of grandeur--it simply means that we (as human beings) have been chosen as the best fit from our parents' genes, and by definition, it's our biological imperative to surpass them. Whenever I feel like I can't do something, I always tell myself that there have been millions of primates up my ancestral tree that have died so that I could live the life that I live now, and that I can't let them down.
It sounds pretty strange, but you could almost say that a primate died 150,000 years ago just so I can be sitting here with my laptop, drinking my latte, and pondering about the wonders of life with a few thousand of my closest Atheist buddies.
The point is that we're all here for a natural (not a supernatural) reason, so whenever you feel like you just can't make it, all you have to do is tell yourself that millions of your ancestors have died just so you can live, and among them, you are the most fit among their seed.
After all, who needs a 2000 year-old Jew nailed to a cross when you have several hundred thousand ancestors who have died for the sake of your survival?