t’s okay to fail when it comes to your writing. You have probably have already many times and will again.
How can we fail? For me, it’s grammar and tenses. Those are my Kryptonite, at the top of the list.
Another way to fail is failing to run it by an editor and critique group. Authors also do not learn about social media before they promote to the top of the world that their book is complete. Now, buy it. Failing to do the proper research for your book can doom it.
But there are instances where failing is needed to improve. One volume of my Jasper, Amazon Parrot series had me writing a three-page scene about elephants. I was sure these animals lived in the same area. It occurred to me to do a simple search when I finished the section. But I did so I could confirm I was right. I was so massively wrong.
One should define in their writing career what aspect of it you consider failing. For me, one way to stop submitting to publishers after getting rejected would have been a failure.
What works for me might not work for you.
I suggest you take a few minutes to determine the line between calling something a failure versus something you are okay with at the end of the day. It could save your sanity and those around you.