(Proverbs 13:11 KJV) Wealth gotten by vanity shall be diminished: but he that gathereth by labour shall increase.
At first reading this seemed to be an attack on “wealth” (1952). The problem with that is it is not a consistent understanding of prosperity and riches. The Bible does not condemn wealth, it demands accountability and stewardship.
The real villain is “vanity” (fraud NASB) (1892). Here the NASB margin tells us that the KJV is more literal. What is the major element of this wrongness? The problem is not the bank balance but the attitude behind it. Self centered, egotistical, narcissistic attitudes towards what we have will send us to hell.
Notice that for one action the reward is “diminished" (dwindles NASB) (4591) and for the other it grows.
So? You can be poor and greedy. You can be rich and generous. It comes back to the attitude which is determined by whether Jesus is really Lord in your life.