Buddhism, on the other hand, handled matters of death and the afterlife. By joining the sangha (monkhood), one was also increasing merit for one’s parents and ancestors.
The principle of karma entered into religious life as a way for ensuring a better life after death.
We have seen that the ancient Chinese were already interested in lavish funerals to provide the deceased with all the necessary comforts in the afterlife.