That's it. You'll never have a losing bet if you don't gamble.
At this point you may feel cheated by the title of this thread, and wondering why this is in Gambling Discussion, and perhaps why I'm wearing a signature of a gambling site if I'm advocating for not gambling. Except I'm not really advocating that, just saying that if you don't want to lose you shouldn't gamble. Feel free to gamble if you accept the fact that you are going to lose. Gambling is entertainment and like many other forms of entertainment it costs money and can be addictive.
Your words and your signature does not match. If you think that gambling will lose money, think of how many people will lose their money when they play gambling while clicking on the your signature link. If you think gambling is too much bad then you should first quit gambling and the gambling signatures before giving advice to others.