If many people can do like what you did, I think they can avoid becoming addicting to gambling. They will prioritize their family first, and make sure their family can get what they need. After that, if they still have money, they can use that money to gamble. If someone really cares about his family, he will give more attention to them, and he will not use that money to gamble or something that he doesn't need. But if he wants to play gambling, he will use only a little money to gamble and give the rest of his money to his family.
If the majority of the people will be like that, I guess there would not be as many casinos, online and actual, as we have today. There would also be lesser bitter and unfortunate gambling stories shared and passed around. This must be the case in Arab countries where gambling is strictly prohibited.