Gambling loss can't be avoided but it can be minimize, thqt should be the main motivation of gambling but I hope you know that even though money is a motivation of gambling, it's not everyone that will win because the system isn't design to favour you and beside not every gambler has the skills to win and understand gambling like everyone. If in a day, the number of people that won in a casino is up to 10, there are 999 people that lost money for that day, not everyone can win in gambling.
-snip-
And because of this, people don't need to take their gambling too seriously, because in the end if they are too serious and lose then they will be very disappointed and this could result in stress or worse, addiction. Because people who are very persistent in being able to get money from gambling, will usually keep trying and trying until they can get money, but little do they know that their actions can make them addicted and difficult to control their emotions, and if that happens then the one who suffers the loss is none other than the gambler, while the casino enjoys this.