Well, it will depend on the age or parents. If they are doing gambling games, then they have the responsibility to guide the young age to do gambling; if the young age has a habit of gambling, then it's the older age's fault that they got influenced; if they don't want the younger age or their son to do gambling, then at the start they should not let the child be interested or even have an idea about the gambling game or gambling things. And yes, mostly children or this generation, most of them got influenced by old age or by their parents or grandparents. But even without the influence of old age, the child could be influenced easily right now by many means of gambling, like social media platforms, by their friends, and many more.
What does the older generation teach or guide the younger generation about gambling which gambling is not a good thing. In my opinion, as bad as the older generation will not guide them into something that is not good, even they should prevent the younger generation from doing something that is not good or not good, because the older generation does not seem to want the younger generation to experience what they have experienced, even if there is an older generation that guides or teaches gambling to the younger generation, in my opinion it is a mistake made by the older generation. Why is that? Because first, gambling is not a good thing. Where gambling can make someone worse than everything. Second, gambling can damage health, mentally, damage relationships. Third, gambling can lead them to things that are beyond reason, such as crimes that will harm others or other crimes.
You are right, even if they do not guide the younger generation to gamble, they can also be influenced by advertisements on the internet. And the older generation should provide supervision to the younger generation, even if they don't provide 24/7 supervision, they should give examples of the bad effects of gambling which is to prevent them from gambling when they see advertisements on the internet.,