Cross reference
Psalms 119:71
71 It is good for me to have been through trouble; so that I might come to the knowledge of your rules.
Psalms 94:12-13
12 Happy is the man who is guided by you, O Jah, and to whom you give teaching out of your law;
13 So that you may give him rest from the days of evil, till a hole is made ready for the destruction of the sinners.
Psalms 119:67
67 Before I was in trouble I went out of the way; but now I keep your word.
1 Corinthians 11:32
32 But if punishment does come, it is sent by the Lord, so that we may be safe when the world is judged.
Hebrews 12:10-11
10 For they truly gave us punishment for a short time, as it seemed good to them; but he does it for our profit, so that we may become holy as he is.
11 At the time all punishment seems to be pain and not joy: but after, those who have been trained by it get from it the peace-giving fruit of righteousness.
Isaiah 27:9
9 So by this will the sin of Jacob be covered, and this is all the fruit of taking away his punishment; when all the stones of the altar are crushed together, so that the wood pillars and the sun-images will not be put up again.