Instead of forbidding it, you have to teach the children about the actual dangers of doing the thing and how to do it safely, how to limit the damage and what are the limits they shouldn't cross - and the reasons for these limits.
Telling them "just say no" or "you have to wait until marriage" only makes them even more curious, and in many cases they will absolutely overdo it once they finally are out of the reach of their parents.
Do you believe your life experience allows you to predict the future?
Edit because I can't reply: because I hate it when people say that communism works even though they never lived through it and have no idea what it actually is to live in it. It's terrible, an entire country of multiple millions of humans is condemned to horrible life. Don't do it, there is enough examples of how bad it is already.
We're talking about experiences of hundreds of millions of people (most of whom don't speak English and don't frequent US forums but they still exist). Yes, their experience can predict the future. Communism always and very quickly failed and then became (or simply started as) oligarchist dictatorship.
But yeah, indeed - usually it's a fault of parenting. Instead of properly teaching about the dangers and responsibility (in case of weed/alcohol, or finance) they made it a tabu.
You’re just repeating cliches IMO
I lived in communism where the state owned practically everything - and everything, not just the food, was shit, and you couldn't get it anyways, we didn't even have toilet paper. Don't get me started on women's hygienic accessories. The recommendation from government was to use old newspaper - because propaganda is more important than hygiene, right?
What is odd to me in the story was the absence of a moral compass of the child and lack of knowledge of the internet as a potentially hostile place.
I used to be a boy scout leader. 10y/o kids routinely broke any and all blocking their parents put on. If they couldn't do it, they bought an old cheap smartphone and went to their friends/McDonald's with it.