if the security of the wallet depends on how you keep your wallet. if you are careless it will be easy to be stolen by others, It is easier to keep a hardware wallet safer than an online one. I would therefore recommend hardware if everyone can afford it, even though the bitcoin might be secured with a strong fire wall, but that doesn't mean you should release vital information about your bitcoin into the world, Because it is your money and there are too much people, who would steal it with pleasure.