You shouldn't be afraid of failing
One of the most difficult ventures in self exploration is the process of convincing yourself that you cannot have everything what you want.
I personally have a very tough time wrapping my head around this thought: There will always be something you will never be able to achieve. There will always be someone smarter than you, quicker than you, and way more skilled than you.
But I guess, it's okay. It's okay to not win every time. It's okay to pass a few days without working-till-you-pass-out. It's okay to feel a little less exuberant on a few days.
It's okay to give up.
Civilization has taught us that failure is a terrible thing-something to despise, detest and remorse. I agree, one hundred percent. And so, naturally, we try to find a way out to avoid it, some way to circumvent our failures, in fact sometimes even at the cost of fooling ourselves, harming ourselves or even jeopardizing our own growth.
So, occasionally, try to introspect. It's okay to drop out that idea you have been working on for a while. Walk out of that abusive relationship. Dump that vitriolic, manipulative friend. Stop clinging on to something that finished a long time ago and move on in your life.
Don't be afraid of failing: it's the best way to fool yourself.
Also, keep a check on your mental health.
Whenever its a call between an attachment (an idea, a friend, a relationship, heck even your field of study) and your mental health, you must be pristinely clear in your priority- it should always be you.
You come first.