Thomas Henry Huxley said this quote

With theology as a code of dogmas which are to be believed, or at any rate repeated, under penalty of present or future punishment, or as a storehouse of anaesthetics for those who find the pains of life too hard to bear, I have nothing to do; and, so far as it may be possible, I shall avoid the expression of any opinion as to the objective truth or falsehood of the systems of theological speculation of which I may find occasion to speak. From my present point of view, theology is regarded as a natural product of the operations of the human mind, under the conditions of its existence, just as any other branch of science, or the arts of architecture, or music, or painting are such products. Like them, theology has a history. Like them also, it is to be met with in certain simple and rudimentary forms; and these can be connected by a multitude of gradations, which exist or have existed, among people of various ages and races, with the most highly developed theologies of past and present times.