(Abraham contemplated): “How is it possible that this wheel will always drive, without a driver? And who is driving it? After all, it cannot drive itself! And he had no teacher, and no one to let him know. Instead, he was immersed in Ur Kasdim, surrounded by idolaters, fools. And his father, and his mother, and all the people were idolaters. And he, too, was idol-working with them, and his heart roamed and understood, until he attained the path of truth, and knew that the whole world were on the wrong.”
--Rambam, Yad HaHazakah (The Mighty Hand), Idolatry Rules.