incredibly common theme in many pre-Christian myth systems. the good/evil dualism in Christianity is the real aberration, despite its prominence.
one of the more credible hypotheses I've encountered about this phenomenon is that early Christianity adopted many of the positions of Gnostic Manichaeism [0] in order to absorb rival cults.