You have to learn to take rejection not as an indication of personal failing but as a wrong address.
Who has more pockets than a magician? A boy. Whose pockets contain *more* than a magicians? A boy's.
How working for the wrong motives poisons our creativity and warps our ideas of success and failure.