Not that the devil is in pagan religions but that the current catholic view of the devil is influenced by pagan and other religious stories and customs. You have to remember that the roman empire persecuted Christianity or Christians and then when Catholicism was reintroduced to people many catholic traditions stem from other religious beliefs.