A funeral in a dream almost always points to an ending rather than literal death -- a relationship, job, habit, or identity that's run its course and needs to be properly closed instead of left hanging. The grief in the dream can feel real even when the loss is symbolic, because closure matters regardless of what's ending. The dream usually invites you to let the old chapter finish first.
To unfasten the tongues Mercury must be in its house and it is efficient with those who Mercury rules. - Picatrix (Andalusia, ~1000.AD)