Keeping it hardware/cold is the best way to prevent being hacked!
You use online wallet they store ur login info and if hackers get it they can transfer funds around least safe.
GUI Wallet also can be hacked if your computer is infested with virus.
For more info you can visit my blog to learn more about internet security
https://simplyeverything.xyz