It's not about the literal benefits of being terrified, it's about motivating you to tackle the problem.
It has literally saved billions of people probably, starting from keeping them from being eaten by bears.
That's what terror is. It's an inherited trait that was a highly effective survival mechanism.
We can also safely assume that through the last 10,000 years or so, life has become much more comfortable for h. sapiens, and perhaps the level of terror we currently experience is much more than necessary for individual survival, (but not collective survival: see also - climate change). But maybe calibrated exactly enough over the past 10,000,000 years.
That is because instinct remained, but the capability is long gone...
Blind terror was an excellent survival mechanism, and it did not require complex reasoning until very very recently in our evolution. Do they work together well? Not always. Do they work together well enough? Maybe for our species survival, but not necessarily for an individual.
I've often thought that the reason AI can not destroy humanity, would likely be because we experience terror, and they do not. No limbic system.
Terror is overloaded fear, no longer useful, when the system is failing