All the Discipline of God is Educational; it is Given for our Profit.
Scourging is not administered just for pain, but the pain is meant to Produce Some Positive Value.
Pain has Its Purpose; it is not mere punishment for some fault.
If one thinks in terms of punishment, it shows that his mind is yet under the bondage of law.