The best thing to do is to starve them out by spending time to research and not letting FOMO drive irrational behavior. Looking at ETH going from pennies to over $300 in a blink of an eye drives a lot of that irrational behavior... but it's also part of the reason why we're here. We have to realize that opportunities aren't lost in a matter of seconds, days, or even weeks... so take the time to research the devs, and the project.
All that said... to more explicitly answer your question. Nothing. Nothing is going to stop the scammers and hackers as they'll always find a way. But it's not like this is unique to crypto. Anyone remember the Nigerian Prince email scams?
You are right as long as people are stupid enough to be tricked by these scams it won't stop. The problem isn't in the security of your wallet it is that people keep falling for this.
The Nigerian prince is a great example , they don't send these e-mails out for fun it actually works.