My novel got rejected by every agent I queried and I almost self published out of spite and I am so glad I did not
I Spent fourteen months querying. Sent to sixty one agents. Got back forty three rejections, eleven non responses, and seven requests for fulls that ultimately did not go anywhere. Kept a spreadsheet, stayed organized, tried to treat it professionally. Did not feel professional. Felt like repeatedly walking up to a door and having it close in my face before I could finish knocking.
By month eleven I had started seriously researching self publishing. Not because I believed it was the wrong choice but because I needed to feel like I had a path forward that did not depend on someone else saying yes. Came very close to pulling the trigger just to end the waiting.
What stopped me was not patience or faith in the process. It was a single email from an agent who passed but included two paragraphs of actual feedback. She liked the voice, found the structure of the middle act confusing in a specific way she described precisely, and suggested the opening was doing too much too fast.
Spent three months on a revision I had not planned to do, kept every version of the manuscript in something called Skrib Writing so I could see exactly what had changed between the version that got forty three rejections and the version that got the offer, and that comparison was one of the more honest things I have ever looked at about my own writing. Sent to twelve more agents with the revised pages.
Got an offer on the fourth submission of that new batch.
The revision the rejection made possible was what the book needed and I would not have done it if I had stopped querying when I wanted to.
The door closing repeatedly was not the end of the story. It was just the part before the part that mattered.