Getting rejected sucks.
But a rejection now doesn’t mean a rejection forever.
I’ve been rejected many times, and I’ll be rejected again in the future. But in hindsight I’m thankful of all my rejections. Often, it lead to an opportunity that’s a better fit for me or I use it as motivation to improve myself.
Either way, the alternative option was inaction. Inaction leads to regret, and regret sucks a lot more than rejection.