Over the years I have heard many child development experts testify about good parenting skills, including discipline. Their advice is often wise. Too many parents seem to believe that discipline means forcing children to do what the parents want them to do, often using coercion. Threatening is not teaching in a loving way. Nor is bribing, hitting or ridiculing.
Children are less likely to misbehave when they focus on positives and what they can do.
They seek revenge. If they've been hurt or humiliated by inappropriate discipline, they will be angry, and angry people seek revenge. They want attention. Children need and deserve their parents' attention. The solution is to catch them being good and to give them praise and attention then.