If you get hacked than its your own fault. If you play smart and don't do anything stupid, you can avoid getting hacked and lose your money.
Exchanges do/can get hacked. So that is why everyone recommends not to store your coins on an exchange for a long time. And also always choose a very trusted exchange when trading coins.
There is nobody who isnt afraid of their wallet getting hacked. But one thing I have heard is that only those who are making use of an online wallet are in dangers of their wallets getting hacked, but if youre using offline wallet that works offline on your device or a paper wallet, you wouldnt have to be worried about hackers. But I believe that there are some good online wallets that are close-impossible to hack, and becomes like completely impossible to be hacked if you have 2fa set-up.
Hacking is the worse nightmare came to the wallet holder but it's really up to us on how we handle our very own wallet since we are the one who's entitled to hold it, and its our obligation to select on where to store it since theirs no totally safe whether you say you put it on hardware nor in online wallets since everything will be dependable to its owner.