Does it matter whether you die poor or rich? You can't take a dime with you.
If you're rich, then perhaps you get a vainglorious funeral organized for you, refer to Dennis Wee. But that is done for the living, not for the dead. If you're the dead one then it does not concern you.