How do you define failure? Is a failed marriage one that didn’t last forever? What about not being promoted or not feeling happy all the time?
How do these definitions serve you? They make us feel bad for the majority of all possible outcomes. Yet if we don’t define a relationship by its length, a career according to the number or promotions and happiness not exclusively as feeling happy all the time we change how we see ourselves.
Just like success failure can mean all kinds of things. You should be the one to decide not the majority.