Digital records, from chat transcripts to social media posts, are being used to create chatbots that recreate the conversational style of deceased individuals. Some maintain that this is merely a new form of digital memorial, while others argue that they pose a variety of moral hazards. To resolve this, I turn to classical Chinese philosophy to make use of a debate over the ethics of funerals and mourning. This ancient argument includes much of interest for the contemporary issue at hand, including the use of impersonators of the dead to help the bereaved to deal well with their grief. I connect this historical discussion with a modern trend in clinical psychology that reframes therapeutic interventions with bereaved individuals. The trend directs practitioners away from facilitating detachment and toward affirming continuing bonds. I conclude that these chatbots can offer an important source of support to mourners, but also discuss parameters and features of social context that will be important to avoid the moral hazards identified by sceptics.