Writers especially know they can count on rejection. Not every manuscript will make it to publication. Those that do are not necessarily going to become bestsellers. Not all reviews are going to be glowing.
But we can't curl up in a ball and wither away every time rejection knocks at our doors. We have to use that rejection to make our work better. Revise. Rewrite. Get more critiques for our manuscript. After that, sometimes the new manuscript that emerged from rejection will find the right path--the one where our work was meant to be. The right editor, the right publisher, and/or the right reader.
Not everyone will love even our published works--there is rejection even after publication. But when our books and stories find their way to the reviewers and readers who DO love them, we know we have found some direction. At least until we start on the next writing journey.