An example of this is found within Hinduism in the concept of samsara. (the cycle of birth, death, and rebirth, mandated by karma from which one is only released upon attainment of true knowledge.)

Also found in the Ancient Greek tradition, with Pythagoras, and Empedocles being the main proponents and defenders of the idea.