How is getting hit teaching manners?

It's mainly the older generation that seem to praise their parents for doing that and even glorify it. They seem so proud of getting hit. It doesn't address what specific manners, nor reaches you to thank you when someone does a manner now say excuse me when needed.

All I know is simply not doing the indesired act/behavior to avoid getting hit or getting beaten into submission to the point of being brainwashed into thinking it was deserved. Then you develop Stockholm Syndrome or self-blame, which is a type of trauma where you really believe it was for the best and even praise the aggressors

Aggressors because that's what they are. Replace parents with a boss. Imagine if your boss hits you with belts, shoes, sticks. That would be assault and battery right there. So how is causing a physical discomfort and pain (even making the kid cry) teaching manners? It makes no sense.

Updates
7 mo
Whatever respect I (then 7 years old) once had for my mother went down the toilet when she yelled and slapped me a couple times when I couldn't get my homework correct after she was trying to teach. Stupid. How have kids if all you're going to do is hit and yell? Nope, her hitting never taught me manners, much less respect. I don't respect people that hit.
How is getting hit teaching manners?
Post Opinion