Hacking is very hard to prevent once they target and focus on yours. The best thing you can do is to split your bitcoin into different addresses you have.
That's right, if you are targeted by a hacker then you can't really save yourself forever, he will not leave you if he see much coins in your wallet, better to split them in different wallets and different places, keep some in cold wallets and some in online wallets. You will feel safer that way.
To be fully safe from a hacker get a paper wallet and put all of your funds onto it, That way a hacker will have zero chance of stealing your coins unless he breaks into your house and knows exactly where to look.