That's correct. The coins are not stored in any type of wallets. They are always on the blockchain. Your hardware wallet stores the private keys that allows you to spend and control those coins. Ledger, for example, has a secure element. The private keys are stored in the secure element and kept offline even when you are connected to the Internet. If your device is malware infected, a virus still wouldn't be able to get to your keys. When you make a transaction, you give the wallet permission to sign for it by pressing the buttons on your hardware device.
So,I guess Trezor have a secure element as well,just like Ledger?
Once I get Trezor,I won't have to worry about that someone can hack into my Coinbase account whether I'm offline or online and steal anything?
So even if coins aren't actually stored on device itself,nobody can ever hack my wallet,if I keep seed words written on paper and device stored on secure place?
[/quote]
Pretty much you wont need to use coinbase if you have a ledger or trezor. Make sure your seed is safe and secure!!!!!
If you're buying a ledger, I would suggest you to buy a Ledger nano X instead of Ledger Nano S. Personally, if you ask me, I would prefer a ledger over a trezor(mainly cause of the UI and personal preference and I like ledger live).
Ask us any other questions you have!