Of course it can ultimately be seen as illusory, but in terms of conventional reality it is a meaningful and even necessary illusion; indeed, mental health may depend on it. That's why, for example, we have such things as the recovery cycle after loss and trauma.