There are many good reasons why spanking is neither necessary nor good.
In fact, research shows spanking or beating a child in the name of discipline is harmful.
Here are resources to show what those reasons are.
https://www.cambridge.org/.../A7885BAC743099CD174689E11D0...
"How Spanking Harms the Brain"
"Spanking Children Slows Cognitive Development and Increases Risk of Criminal Behavior"
"Study Links Spanking Kids to Aggression and Language Problems"
"Spanking the Gray Matter Out of Kids"
"The Long-Term Effects of Spanking"
"What's the Problem with Spanking?"
What Science Says - and Doesn’t Say -about Spanking
The Risks of Harm from Spanking Children
10 Reasons Not to Hit Your Child
What Science Says About Using Physical Force to Punish a Child
The Long-Term Effects of Physical Punishment on a Child