The History of the Devil goes back to the ancient Middle East, even before the Old Testament to find the roots of Satan. The answer is in the ancient Mesopotamia. In Zoroastrianism it was believed that the all-knowing good God was Ahura Mazda, the one Uncreated Creator, and Ahriman was his antithesis, the God of chaos, the dark and evil one. Probably the bases of these teachings like heaven and hell, good and evil were transferred to the other monotheistic religions.
Ulf Kjell Gür