"Before I was afflicted I went astray, but now I obey Your word!" Psalm 119:67
"I know, O LORD, that Your laws are righteous, and in faithfulness You have afflicted me. Psalm 119:75
"I have refined you in the furnace of affliction!" Isaiah 48:10
Affliction is God's school in which holy virtues are acquired, and Christian character is formed.
"It was good for me to be afflicted, so that I might learn Your decrees!" Psalm 119:71
"No discipline seems pleasant at the time, but painful. Later on, however, it produces a harvest of righteousness and peace for those who have been trained by it." Hebrews 12:11