According to Hinduism , the samsara of life and death is eternal until one attains emancipation or moksha .