The writer of the Hebrews has pain in good perspective. He does not counsel the avoidance of pain but rather that strategic embrace of learning’s good pain that produces enduring character.
Now, discipline always seems painful rather than pleasant at the time, but later it yields the peaceful fruit of righteousness to those who have been trained by it.