Now concerning Terah: This is what Rabbi Mosheh ben-Maimon (1138–1204 CE) states in the Mishnah Torah.
During the times of Enosh, mankind made a great mistake, and the wise men of that generation gave thoughtless counsel. Enosh himself was one of those who erred.
Their mistake was as follows: They said Hashem created stars and spheres with which to control the world. He placed them on high and treated them with honor, making them servants who minister before Him. Accordingly, it is fitting to praise and glorify them and to treat them with honor. [They perceived] this to be the will of Hashem, blessed be He, that they magnify and honor those whom He magnified and honored, just as a king desires that the servants who stand before him be honored. Indeed, doing so is an expression of honor to the king.
After conceiving of this notion, they began to construct temples to the stars and offer sacrifices to them. They would praise and glorify them with words, and prostrate themselves before them, because by doing so, they would - according to their false conception - be fulfilling the will of Hashem.
This was the essence of the worship of false Hashems, and this was the rationale of those who worshiped them. They would not say that there is no other Hashem except for this star.
This message was conveyed by Jeremiah, who declared (10:7-8): "Who will not fear You, King of the nations, for to You it is fitting. Among all the wise men of the nations and in all their kingdoms, there is none like You. They have one foolish and senseless [notion. They conceive of their] empty teachings as wood;" i.e., all know that You alone are Hashem. Their foolish error consists of conceiving of this emptiness as Your will.
After many years passed, there arose people - false prophets - who told [their nations] that Hashem had commanded them to say: Serve this star - or all the stars - sacrifice to it, offer libations to it, build a temple for it and make an image of it so that all people - including the women, the children, and the common people - could bow to it.
He would inform them of a form that he had conceived, and tell them that this is the image of the particular star, claiming that this was revealed to him in a prophetic vision. In this manner, the people began to make images in temples, under trees, and on the tops of mountains and hills.
People would gather together and bow down to them and the [false prophets] would say: This image is the source of benefit or harm. It is appropriate to serve it and fear it. Their priests would tell them: This service will enable you to multiply and be successful. Do this and this, or do not do this or this.
Subsequently, other deceivers arose and declared that a specific star, sphere, or angel had spoken to them and commanded them: Serve me in this manner. He would then relate a mode of service [telling them:] Do this, do not do this.
Thus, these practices spread throughout the world. People would serve images with strange practices - one more distorted than the other - offer sacrifices to them, and bow down to them. As the years passed, [Hashem's] glorious and awesome name was forgotten by the entire population. [It was no longer part of] their speech or thought, and they no longer knew Him. Thus, all the common people, the women, and the children would know only the image of wood or stone and the temples of stone to which they were trained from their childhood to bow down and serve, and in whose name they swore.
The wise men among them would think that there is no Hashem other than the stars and spheres for whose sake, and in resemblance of which, they had made these images. The Eternal Rock was not recognized or known by anyone in the world, with the exception of a [few] individuals: for example, Chanoch, Metushelach, Noach, Shem, and Ever. The world continued in this fashion until the pillar of the world - the Patriarch Abraham - was born.
After this mighty man was weaned, he began to explore and think. Though he was a child, he began to think [incessantly] throughout the day and night, wondering: How is it possible for the sphere to continue to revolve without having anyone controlling it? Who is causing it to revolve? Surely, it does not cause itself to revolve.
He had no teacher, nor was there anyone to inform him. Rather, he was mired in Ur Kasdim among the foolish idolaters. His father, mother, and all the people [around him] were idol worshipers, and he would worship with them. [However,] his heart was exploring and [gaining] understanding.
Ultimately, he appreciated the way of truth and understood the path of righteousness through his accurate comprehension. He realized that there was one Hashem who controlled the sphere, that He created everything, and that there is no other Hashem among all the other entities. He knew that the entire world was making a mistake. What caused them to err was their service of the stars and images, which made them lose awareness of the truth.
Abraham was forty years old when he became aware of his Creator. When he recognized and knew Him, he began to formulate replies to the inhabitants of Ur Kasdim and debate with them, telling them that they were not following a proper path.
He broke their idols and began to teach the people that it is fitting to serve only the Hashem of the world. To Him [alone] is it fitting to bow down, sacrifice, and offer libations, so that the people of future [generations] would recognize Him. [Conversely,] it is fitting to destroy and break all the images, lest all the people err concerning them, like those people who thought that there are no other Hashems besides these [images].
When he overcame them through the strength of his arguments, the king desired to kill him. He was [saved through] a miracle and left for Charan. [There,] he began to call in a loud voice to all people and inform them that there is one Hashem in the entire world and it is proper to serve Him. He would go out and call to the people, gathering them in city after city and country after country, until he came to the land of Canaan - proclaiming [Hashem's existence the entire time] - as [Genesis 21:33] states: "And He called there in the name of the Lord, the eternal Hashem."