Also important that you detach yourself from all unwanted stuff and especially where money is involved you better be staying away because it can take away your money as you lose the bets rather than wining the amount from it.
You could detach yourself from gambling and out your money into other stuff.

Those who are risk takers just can stop themselves from doing such things. For them a good investment would also be good but they will fail because they have not patience. In gambling though patience is less important for games like dice,slots etc. So its what attracts them to it. Trading is also not their cup of tea because they are not willing to do any analysis or study.
maybe you have had a bitter experience at gambling, so you can learn from your experience. so that you can master the self-control that every gambler must have
Some people do end up with a bitter experience but they still dont learn their lesson. Say they promise to give up gambling but after 2weeks they are back. Self-control is important and determination to stick to the rule is also important.
You are right that in gambling, gamblers always lose their money and win seldom. It is good to keep aside for some time and if possible quit forever. When you leave gambling for some time, you may be able to give less time to gambling and finally you may able to quit gambling completely. If you give more time to your family friends and relatives, you will feel relaxed.