What are you teaching a child when you hit them for doing something wrong? You are teaching them that force is a legitimate option to overpower someone under your authority or physically inferior to you. You are teaching them that violence is an effective corrective measure. You are taking away from them the ability to resolve disagreements or scuffles amicably, with reason and compassion. And then you exclaim exasperatedly "Why is this generation so obsessed with violence?" Because you are teaching them that!