The plan of God is to bring about His own glory and the believer's good (or blessing). That plan incorporates all things, which includes pain, suffering, and trials, recognizing it as apart of the plan of a loving God who is bringing about our good and His glory.