Hardware wallets are the gold standard when it comes to storing cryptocurrency securely. Coinbase do have insurance to cover clients just in the case they get hacked. However the insurance is capped at a certain value. Hardware wallet like Ledger have a much better security track record than most cryptocurrency exchanges.