This is such an amazing quote! So true! I have so seen the Lord doing this work in my own life!
"He does it in the hope that, when we have found our rest in Christ in time of trouble, we shall learn to choose abiding in Him as our only portion; and when the affliction is removed, have so grown more firmly into Him, that in prosperity He still shall be our only joy. So much has He set His heart on this, that though He has indeed no pleasure in afflicting us, He will not keep back even the most painful chastisement if He can but thereby guide His beloved child to come home and abide in the beloved Son. Christian! pray for grace to see in every trouble, small or great, the Father's finger pointing to Jesus, and saying, Abide in Him."
~ Andrew Murray ~