Wallet hacking is possible if we are not alert and click any phishing link, by which our data goes to the hacker or sometimes we download some unknown software and a keylogger added to our system and all our clicked data goes through that keylogger. Hardware wallets are fully safe from all these things.