How does Buddhism deal with failure? I've developed over the years an attachment to social media, which I've many, many times tried to break. I'm starting to suspect it is because there's no problems when things go well, but when I fail, I automatically blame myself and get discouraged and give up.
For Buddhists, is there any specific view or attitude to adopt towards failure? Something that would allow one to cope with such discouragement? I feel many factors are involved.
Thank you
Why would you want to cope with those feelings?  Feeling bad about failure is the whole point!  It makes you less likely to do it again.  Embrace those feelings.  They are a gift that will help lead you to further success.