Banks are safer, and in some countries deposits are guaranteed by State, even if the bank closes. So first or essential investment (in order to save money for a life project for example) should be in a bank account.
Then, if you want to invest more, cryptos offer better earnings, but with the risk of losing more capital. So don't invest in cryptos what you can't afford to lose.
In many countries, the state guarantees to return only a part, a certain amount, and no one will return everything that is lost above it. In addition, there are situations when a depositor simply cannot withdraw his money from the bank, remember the recent story with depositors in China, this is far from the only case and not only in China.
Therefore, you can keep some amount in the bank (which you are not afraid to lose), or you can afford to go without it for a long time. Try to make sure that you can have access to your money when you need it, so that you do not depend on anyone.