It’s not beating. It’s referred to as the judicious use of pain.
Spanking a wayward or misbehaving child is a wise method of teaching them that actions have consequences. It’s not to be done in a random or wonton manner, yet as a reasoned response to train them that their actions were wrong and to train them in wisdom and admonition.
Usually, just the threat was enough for my kids, all four who have grown up to be wise, responsible young adults.
“My kids turned out great” is NOT a response, certainly not a rebuttal, of the research. It’s like saying, “Economists say that the minimum wage destroys jobs. But that’s bunk, because I have a job.”