As a scientist, there are few things more soul-crushing than spending months or years working on a paper, only to have it rejected by your journal of choice - especially when you really feel like you're onto something important.
But it turns out that plenty of world-famous researchers went through rejection before finally having their papers published - including a few papers that later went on to win a Nobel Prize.
That's not to say the publication system failed these researchers - in fact, the rejection process is part of good, healthy peer-review.