It's pretty normal for children if they also do what they see in their parents, that's the nature of children so as a parent, we should adjust ourselves and limit the things we do once they are in front of us because they don't know the things that shouldn't be imitated because parents will serve as role models for children until they grow up. if they see what you and your spouse are doing, they can imitate it while they are young, not unless you explain every detail of what should not be imitated by children from what they see in their parents.
Children are good imitators so what they see from our bad habits, for example gambling, will of course be easily remembered by their brains to continue to remember it and force them to try doing it in the future, usually they will often feel curious if they have never tried doing it or received an explanation about gambling. What is meant, especially since the sophistication of technology is currently quite developed, they can know what his father is playing on his computer monitor, of course that will be the beginning of disaster for him.
The point is that as a parent or father, don't ever try to show your bad habit of gambling in front of your children. After all, there is still time to gamble when they are asleep. Like what I do, I only gamble at night when they are asleep. Don't force yourself to gamble too much in front of your children. Even though there is a very profitable gambling betting opportunity, don't be too enthusiastic, stay relaxed, arrange the time so they don't see it, don't let us explain what they should, don't ask about it, especially about the gambling that we play too often in front of them.