People who have a tendency to overthink things are more likely to suffer from anxiety and depression.