Emotions like fear and anxiety can help us to act in certain situations, for instance, alerting us to danger. Anxiety should not be avoided. It can point to an underlying issue that needs to be addressed.
Thinking negatively can also help us prepare for worst-case scenarios in advance. However, too much negative thinking is not good for us either.