Our mind can fear us in such a way that the challenges that may come in our life are as if like a big storm coming. But the intellect will say that I have seen many such storms.
Why the mind produces bad and unnecessary thoughts is because the intellect is not firm. The mind of those whose intellect is firm will produce good and necessary thoughts.
If you want to keep your intellect strong, learn meditation. As the thought, so is the life.