Your money is safer on an exchange than in a wallet

If an exchange is hacked, you actually get compensated; if your wallet is hacked, you don't