At least in France, children are faced with healthy food since primary shool. Sodas distributors are forbidden up to and including high school. They are also given the opportuinty to do sports (my children, 14 and 16, routinely go to play football with their friends in an open field - in the subrbs of Paris)
Then there is not much tolerence for fat people. Surprisingly, this equals fatness to having a disease.
The company restaurants are very affordable and usually healthy.
One of the things which also help a lot that it is traditional to drink water at meals. This is also what you get at school (and nothing else), and at the office (some would buy something else but this is unusual.
In my limited experience, there is no such shaming going on in Germany. Perhaps people move around more, and drive around less? Perhaps it's related to how food is regulated?
The way it read was that European countries have much more homogenized cultures where people are more openly shamed for having an unhealthy lifestyle; due to the fact that the healthcare costs are more visibly distributed to everyone.