To get children to adulthood safely it is sometimes necessary to be the bad guy.
Electric sockets, running into traffic, reaching for pots on the hot stove need a very strong signal that will be remembered. In a loving home a spank is rare, unexpected and creates a red line to help keep a child safe.
Good Common Sense.