the thing is that when you take a child not to do something that you think that is wrong I think that you should not be doing those things you told me the present of the child so when you started doing those things your mentioned to them or you told them that is wrong in their presence they would think that you are lying to them that is why some people do emphasize that we should not Gamble in the front of our children or do anything wrong in front of our children because children do copy or take the step of the parents as good thing, that is why we don't bring up what we know that is bad or discussion what we think that is bad in the presence of children.
No matter how bad we are, when we are with our children, as much as possible, never behave badly in front of them, that doesn't mean we are fanatical or hypocritical or pretend to be good in front of our children. However, if we behave badly and show our stupidity in front of them, not only will they imitate this, but it will also be a reason for a child to become disobedient and not want to respect his parents. And it's true what you said, that apart from us having to behave well in front of them, we also shouldn't talk about the dark times we've experienced, because that could be a reason for a child to do the same thing as what his parents did. .
And of course we all know very well the risks posed by gambling, drinking or other negative things. even though we are gamblers or drunkards, no matter how drunk we are and no matter how addicted we are to gambling, as parents we always want the best for our children. No parents are perfect, with all the shortcomings we have, and all the stupid things we have done, we still try to give them the best, don't let them do bad things and stupid things like what we have done.
Kids deserve some respect from their parents, to be able to return the respect in same energy. Whatever behavior a father or mother exhibits in their kid's presence will register quickly in the child's brain. And he'll hardly avoid practicing those things even when said to be wrong or bad. Seeing his parents do it, validates that it's a good thing for kids to do. Gambling is widely spreading around every existing society, yet parents shouldn't be the influencers who help in marketing gambling to kids. Gambling in the presence of kids will only create a society where young people will abuse gambling profusely. Hence, when gambling, kids should be sleeping or busy with school assignments.
Nothing should link a parent his kid to gambling, except when the need arises. Maybe the child is heard using some gambling terms, he can be questioned about his involvement in gambling. At least he'd say something reasonable to help detect if he's interested in gambling or not. Aside from that, parents who gamble are expected to reduce their involvement in the game. To help build a responsible family that produces kids that'll help influence kids to behave rightly. Upbringing kids in the gambling way, will only hasten the rate at which young people get influenced by peers to begin gambling.