This might be a bad opinion, but maybe if you really hunkered down and finished it, and saw it as your mountain to climb, you will feel really accomplished for doing so, and you will be known as that guy around the company that finished a task no one else even knew how to do. It could be great for perception in the eyes of your superiors, but I don't know your company so that's just a guess. I understand that throwing it out would make you feel like you wasted so much time and energy for nothing and at the same time letting your bosses down. If you think there is a chance though, a chance you could do it if you tackled it as hard as you could, that could really change your outlook on these things and raise your confidence so you don't feel so nervous all the time. Just see it as a challenge, give it that "Eye of the Tiger" moment where you laser focus on it. Just my humble opinion though, I have no idea what your work environment and culture is like.
This might be a bad opinion, but maybe if you really hunkered down and finished it, and saw it as your mountain to climb, you will feel really accomplished for doing so, and you will be known as that guy around the company that finished a task no one else even knew how to do. It could be great for perception in the eyes of your superiors, but I don't know your company so that's just a guess. I understand that throwing it out would make you feel like you wasted so much time and energy for nothing and at the same time letting your bosses down. If you think there is a chance though, a chance you could do it if you tackled it as hard as you could, that could really change your outlook on these things and raise your confidence so you don't feel so nervous all the time. Just see it as a challenge, give it that "Eye of the Tiger" moment where you laser focus on it. Just my humble opinion though, I have no idea what your work environment and culture is like.