The origin of this objection comes from the influential German philosopher, Ludwig Feuerbach who pontificated this idea that God was made in the image of man and that God was a creation of the human mind. And then Sigmund Freud also contributed to this “A theological dogma might be refuted to a person a thousand times, provided however, he had need of it, he again and again accepts it as true.”
