If so, the dream is probably recommending that you do this.
Exhumation Dream Interpretation
Digging something out of the ground - particularly a body - may be a symbol of bringing into consciousness what has been buried in the unconscious.
If so, the dream is probably recommending that you do this.