Buddhism and Hinduism believe in the concept of Karma, which states that our past actions affect our present and future life states. One could do evil in this life and be reborn a worm in the next life. Similarly, afflictions in this life are often explained away as the effects of Karma from a previous life (or from misdeeds earlier in this life).