The answer is: Frustration
Negative emotion refers to the type of emotion that could create some sort of damage to both your psychological or physical condition.
Frustration is the emotion that we felt when we constantly trapped in failures without seeing any path to achieve our goal. This emotion could damage our self-confidence and prevent us from ever again pursing difficult goals again in the future.