When did failure become a bad thing? Failing doesn’t make a you a failure, it just gives you more opportunity down the road.
A lot of the most successful people around me have failed so many times. But, they were able to take their “failures,” learn, adapt and find the thing that worked for them.
My encouragement is simple, take your failures in stride and learn from them.