Negative thoughts don't just happen; they are there for a reason.