Failing isn't a the worst thing you can do. Not trying is. Failing is just a stepping stone. Like the wise Thomas Wayne once said, "Why do we fall? So we can get back up again.”
You had the courage to write it and, better yet, submit it to peer review. Kudos to you. Now, get back on the horse...