Yes maybe saving can also be useful to be used as an emergency fund to overcome problems that occur unexpectedly but on the other hand I can't choose or can't say about which one is more important between saving and investing, because of course both are quite important and recommended to do if you feel financially capable of doing so. But on the other hand, I think I would agree with what you said that saving money can make us lose the value of money because of inflation that can occur at any time and I think it is because of this that people prefer to allocate their money to investment, and yes for the problem of what type of investment they will choose basically for this problem really depends on their respective beliefs or beliefs, which usually maybe more of them see in terms of significant profits and for myself so far I am still maintaining my investment in Bitcoin while waiting for the halving phase in the next four years.
But you need to distinguish that saving for emergencies is different from saving money over many years for the purpose of accumulating assets. Inflation and currency devaluation are extremely dangerous, but for short-term or emergency savings, devaluation is not too significant and not worth worrying about.
In addition, not every investment brings profit without risk, so you need to consider and allocate capital to invest appropriately. The mistake I see many people make is that because they are so eager to get rich, they don't have any savings and put all their money into investing. But they do not know that risk is always lurking behind and can attack them at any time, investing is not as easy and safe as they think.
There are people who can share their finances, but I think this is done by people who are very good at managing their finances, but saving for anything is of course a good action because not everyone can do that, of course there are people who already have an income. but they can't save their money, even for an emergency fund, they can't do it, because everyone's income is different and maybe with those who can't save for the long term, I don't think it's a problem, even with those who can't save for an emergency fund, maybe that's because they have sufficient and limited income.
If we really want to invest, of course we have to be able to consider everything first, such as risks or aspects that must be prepared before investing, such as having savings outside of investment or emergency funds, because of course the investment we make also has its own risks, such as losses that could occur if we don't. have a good understanding or knowledge in investing.