means that
material wealth cannot be taken beyond death, so it is worth considering how to use it meaningfully during life rather than accumulating it for its own sake.
The saying “Shrouds have no pockets,” can be used when no matter how rich someone is, one day he or she will die, without taking money with them.