Also, let's not forget the other half of the argument. Is spanking actually effective?
"Why is spanking ineffective for changing behavior in the longterm?
Approaching this from a behaviorist perspective, conditioning by punishment (pain) requires that the consequence always occur immediately after every instance. When you touch a hot stove with a bare hand, you get burned, period. This does not occur with the behaviors parents spank for—parents are often not around to see them or are not willing or able to spank immediately afterwards"
https://www.psychologytoday.com/blog...s-bad-all-kids
And of course, this should come as no surprise to anyone familiar with operant conditioning. Punishment isn't very effecive in the first place, but it also feeds you vs. me mentality.
Punishment of course shouldn't be confused with negative reinforcement (taking away privileges) which can be more of a cooperative arrangement.