Here is the full quote by M. Scott Peck. For easier internet reading, I broke it into sections. You can find it in The Road Less Traveled, page 50.
Truth or reality is avoided when it is painful. We can revise our maps only when we have the discipline to overcome that pain.
To have such discipline, we must be totally dedicated to truth. That is to say we must always hold truth, as best we can determine it, to be more important, more vital to our self-interest, than our comfort.
Conversely, we must always consider our personal discomfort, relatively unimportant and, indeed, even welcome it in the service of the search for truth.