Building an accountable society, does not work that way. Accountability means accountability at every level. Adults who are institutionally in charge of children, are supposed to have a level of training that leaves them on top of the game, including how to positively motivate children to do "good", and how to do this with humor, and humanity. Authoritarian societies are just institutionally incompetent. They are without fail supporting corrupt social systems, and power based morality.
There was a discussion I read about the correct interpretation of the Golden Rule. That being, "Do unto others, as you would have them do unto you." Then the iron rule was something like, "Do unto others as it has been done to you." Then there was the tin rule, and and so forth.
An energy lingers from corporal punishment, and dominion by might, even if that might is sold as might for the good. That energy does not dissipate into realization, it may dissipate into acceptance, or it might dissipate into depression, or it might fulminate into even more aggressive acts. Violent acting out, even for the "good", still leaves an inertia of motion that will have to be dealt with at a later time. A child that hasn't learned better than to physically act out, or who disagrees and voices it, is humiliated, and hurt by physical punishment. The child is physically intimidated by an adult who acts out physically in response to the child acting out physically. In math this is an equation. Everything stays the same, there is no catalatic exchange from the adult that shows the child a better way, this takes a lot more subtle effort, a lot more intelligent and invested effort.
Physical domination certainly reveals the control agenda of the person who punishes in the name of society, but does not help the child in any instructional manner. For intelligent children that face this, sometimes they will find that there is no right way to act if you are different fundamentally from those that you must interact with in the public domain. Clever children learn that idiots are in charge.