Money spoils (aka inflation) just as much as food does. To maintain the value of your money you have to actively utilize it in the economy by investing it. This is not a flaw. It is necessary to keep the economy running. Otherwise we would see Scrooge McDuck in real life.