That's why having these two option is really the best so that we can be so sure that we are totally fine and there's nothing to worry about especially when we need something. Some other people may say that emergency cases is rare situation but we should prepare to any possibilities that it will came.
Having funds for emergency needs should be everyone's priority, even if it rarely happens, at least have preparations to deal with such situations. Choosing savings and investments is of course very profitable if the finances we have are sufficient to cover everything, the most important thing is that meeting basic needs must be prioritized, the rest can be saved and invested even if the nominal value is not too large. The most important thing is to consistently set aside every month.