The best quote I've ever found on dealing with failure is from none other than author Jerry Spinelli.
At a Highlights Foundation workshop in 2002, Jerry said: "...failure is not a pitfall or a pothole, but a stepping stone... It is only after stepping from one stone to the next... and the next... and the next, that you look back and discover that on the stepping stones of your failures you have crossed the creek."
Here's to crossing the creek. Maybe the next rejection or the one after that will be the stepping stone that gets you across.