... but then you shouldn't forget that the money on your account will be eroded by inflation.
But if I had to choose, I would still prefer to have savings in the bank even though my money is being eroded by inflation rather than use all my money for investment and also have no guarantee that investment will definitely be profitable for me. No one is forcing you to put all the money you have in the bank to save, and savings are for future emergencies. For me, it's bad if someone has no savings, and even more stupid to think they invest all their money with no other reserves.
Why don't you consider diversifying assets to maximize profits and minimize risks? Saving and investing are two things that should be balanced in life. I bet you that your life will never improve without a savings account or an investment, both are equally essential.
Yes sure, I am not saying that I spend all my money on investment, I am talking specifically about term deposit, usually it has at least 1 year, or even more for the money to be available for withdrawal, so it's not an emergency fund either because I can't just withdraw it when I need money in emergency, and by the time I am able to withdraw the money the value is not reduced.