Everyone gets rejected. Even Kurt Vonnegut, Madonna, Andy Warhol, and others who went on to be luminaries in their field.
If you get rejected, don't take it to heart. Learn from the experience and move on.
Mostly, rejection is simply proof that you haven't given up--which is a great thing.