the answer to this question is syncretism
In syncretism, two religions or more will blend in together to form a new religion due to contact or new relationships that rise between each cultures where the religions came from. . for example, Gnosticism (a religious system that created from the combination of elements from the Oriental mysterious religions