Having money set aside in an accessible emergency fund is important. The amount you need depends on your spending, but a minimum of $1000 is a good start
If you want to buy a house or car soon, you should probably save the money. If your top priority is retirement or financial independence, you should invest more.