Does mental rigidity cause psychological problems? Is there a correlation between mental disorders and mental rigidity?

I suspect that when people have very strong beliefs and it happens that this beliefs are dysfunctional they can incur into mental disorders.
To further clarify the question it can be also reformulated in another way.
Is it possible to state that most of people change their beliefs to become adaptive to the requirements of society while stubborn people don't?

Is that correct?
I've read that a tendency to "jump to conclusions" has an impact on certain psychological afflictions, such as having delusions.  As you may know, the definition of a delusion is as follows (this is just from Google dictionary):


  an idiosyncratic belief or impression that is firmly maintained despite being contradicted by what is generally accepted as reality or rational argument, typically a symptom of mental disorder.


I am assuming that that sort of uncritical thinking is at least part of what you meant by "mental rigidity."