In my opinion, gambling depends on the home environment and the environment where he plays with his friends, because if the environment and friends are good then his brain will definitely avoid gambling. However, if the place where you live and the environment is bad, many people gamble, then indirectly, if they have a track record, the people around them will also do the same. Not because of gambling advertisements scattered in the media, because if it happened because of gambling advertisements in the media the whole world would definitely gamble.
Your view of the world is too black and white. There are always shades (and gambling, by the way, is not something inherently bad) and gambling is part of most games - even football, even chess.
For example, a football player has a choice: make a long shot (probability of scoring a goal is 10%) or trick the defender and improve own position, make a short shot or give an assist (the probability of this is 15%). Which is better to choose? To some extent, this is a gambling issue. Teams employ special analysts who give advice to players (through the coach) on how best to act so that the team receives the greatest benefit.
In chess it’s the same, people are not computers and cannot count complex positions to the end, so they have a choice: for example, go to a difficult option where you can either win or lose, or go to a calm continuation of the position and with a 75% chance of getting a draw. Depending on the tournament situation, they make a decision and this is also gambling to some extent.
Now let’s take computer games that most young people play - they are all filled with gambling (and this is even if we don’t remember about loot boxes). There are also a lot of choices there, like: beat boss A and with a 1% chance of getting the legendary item A1, or beat Boss B and with a 10% chance of getting the rare item B1. The decision of these picks is also gambling.
Therefore, if we return to the first post of the topic, we can say that gambling is not an innate quality, but simply a part of real life and you just need to be able to “work” with it correctly.