People turn to the internet when real life is not very stimulating. Banning the internet does not remove that problem.
That being said, it's a small village, and it's only for a few hours. I find the measure authoritarian, but then again my context is that of individualism and urban Western culture. The village did agree to it in a communal sense, and being less reliant on entertainment could make life better there. We would have to know about more about the community and its inhabitants.
I think adults shouldn't have to be told what's bad and what's not. Not to mention that it's almost impossible to enforce and it shouldn't be anyway!
It's easy to romanticize this decision from a distance, but it's actually quite authoritarian and a bad take at solving the tech addiction problem.