Pain can be a learning experience. Suffering can be a time in which faith is deepened and spirituality is stretched.
When Paul wrote to the Roman Christians that “in all things God works for the good of those who love him, who[i] have been called according to his purpose”. (Romans 8:28 – NIV) this is part of what he was communicating.
It is not a matter of everything being good — rather it is the work God does in the midst of the pain to make it good.
Yet you must be careful how you define “good”. We tend to define good in terms of our own comfort and convenience. In God’s eyes good is defined as becoming more Christ-like. It is defined as spiritual growth.
That may not always be convenient or comfortable. In most cases it will be very inconvenient and way outside our comfort zone.
If you are in pain right now — ask yourself: What great ministry is being born from this?