Correct, once the situation got resolve you start again to save your money, for sure you learn a lesson from your experienced.
However, we need to be able to save money, learning from experience is important, and in times of economic uncertainty, the emergency fund has been set up again.
We don't know when the emergency will come up, but with the experienced we will start to
anticipate and we will allocate a certain amount to save.
It always comes unexpectedly, so anticipating is very important, don't spend too much money the way you save and a little aside for investment then it's the best solution when there is pressure again.
It will help to avoid using your investment or your asset as you have dedicated savings
for any emergency it will cover the needs.
As much as possible it should be able to be separated between investment and emergency funds.
Emergency fund is the first layer and Investment is the second layer to use, but if it can still be overcome by the first layer then the assets in the investment will remain safe for the long term.
The key question is how expensive the lesson is going to be. Making mistakes is usual, part of life and will provide an example of how not to do things. However you need to calibrate the cost of making that mistake and learn the lesson and know what you don't know and how bad can it get in case you miss.
Regarding inflation, the topic, getting it wrong is usually a very costly mistake that may end up with you having no home.