Both 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).
the doctrine of karma in Buddhism and Hinduism. Beliefs about the actions that have been done in the past, the present and the future. Affect life can not escape it.