Particular attention was devoted during the last fifty years to the problem of the origin of religion. Repeated attempts were made to give a natural explanation of it, but without success. Some spoke of it as an invention of cunning and deceptive priests, who regarded it as an easy source of revenue; but this explanation is entirely discredited now. Others held that it began with the worship of lifeless objects (fetishes), or with the worship of spirits, possibly the spirits of forefathers. But this is no explanation, since the question remains, How did people ever hit up on the idea of worshipping lifeless or living objects? Still others were of the opinion that religion originated in nature – worship, that is, the worship of the marvels and powers of nature, or in the widespread practice of magic. But these theories do not explain any more than the others how non-religious man ever became religious. They all start out with a man who is already religious.
The Bible gives the only reliable account of the origin of religion. It informs us of the existence of God, the only object worthy of religious worship. Moreover, it comes to us with the assurance that God, whom man could never discover with his natural powers, revealed himself in nature and, more especially, in His divine Word, demands the worship and service of man, and also determines the worship and service that is well-pleasing to Him. And, finally, it teaches us that God created man in His own image, and thus endowed him with a capacity to understand, and to respond to, this revelation, and engendered in him a natural urge to seek communion with God and to glorify Him.
-Louis Berkhof – A Summary of Christian Doctrine