This could easily avoided if people will give value to their security and could extensively examine the site where they input their private keys and avoid downloading things that are suspicious and unncesessary
This, people somehow want complete control over their money and yet they want to somehow not being responsible in the case they lose their coins, with cryptocurrencies we are completely responsible of what happens to our coins and we need to act like it, even if hackers are the ones that are guilty of stealing your coins you need to take better precautions to not become a victim to them.