I want to know the answer to the following question:
How does pain inform attitudes deemed unacceptable?
All the background I'm provided with is that "In various contexts, the deliberate infliction of pain in the form of corporal punishment is used as retribution for an offence, or for the purpose of disciplining or reforming a wrongdoer, or to deter attitudes or behaviour deemed unacceptable.". Is that enough to answer the question?
Answer: yes