Zoroastrianism did not turn them into demons from my understanding, they still worshipped those gods. it has a polytheistic pantheon with a supreme leader.
other forms of paganism do predate it and I completely agree with that part, however @Wotanwarrior was saying that Zoroastrianism predated...