My first book was rejected by every agent and publisher. So I self-published it. It sold 60k+ copies.
My 2nd book got rejected by 25+ publishers. Only one gave me a shot. It sold 350k+
Don't let other folks opinion of your work determine its value: