Karen Horney said this quote

The tenacity with which the neurotic adheres to any attitude is a sure indication that the attitude fulfills functions which seem indispensable in the framework of his neurosis.