Erich Fromm said this quote
“ The analysis of the psychological motivations behind certain doctrines or ideas can never be a substitute for a rational judgement of the validity of the doctrine and of the values which it implies, although such analysis may lead to a better understanding of the real meaning of a doctrine and thereby influence one's value judgement. ”