Countries are seeing how much banning content helps governments in places like China, and want that easy "solution" to their problems instead of doing the difficult thing of properly educating citizens and cultivating free and open discourse.
I guess my analogy is bad because it is debatable if fast food, in itself, is bad for you. My issue with your analogy is that the use of violence is abused by governments so much more than it is every used correctly (if that is even possible) and that all citizens would benefit from governments condemning violence. The reason governments don't condemn violence isn't because their use of violence helps citizens, it is because their use of violence helps themselves. And the same thing goes for banning content. So I guess your analogy is actually pretty good, just counterproductive to your point.