Did you ever find a lost object by looking all over till you discovered its location? You could rightly say you found it by identifying all the places where it wasn't. The same is true with your writing. If something fails, tweak it and send it back out again. It may succeed. Most of all, take note of why you think it failed so your tweaks will become more effective.
Some of the best known stories in the world were classed as failures at their first reading, either by editors or by well meaning friends. Since this site is copyright free I will not mention any names, but the point is this: Never give up.