Confucius said: "To see the dead person to his grave with the thought that he is unmistakably dead is inhuman and not something one should do. To see the dead person to his grave with the thought that he is still alive is unwise and also not something one should do."
Source: tatoeba (3295410)