"As we ask these questions, we realize that the purpose of our life on earth is to grow, develop, and be strengthened through our own experiences. How do we do this? The scriptures give us an answer in one simple phrase: we “wait upon the Lord.”12 Tests and trials are given to all of us. These mortal challenges allow us and our Heavenly Father to see whether we will exercise our agency to follow His Son. He already knows, and we have the opportunity to learn, that no matter how difficult our circumstances, “all these things shall [be for our] experience, and … [our] good.”" - Elder Robert D. Hales.
For more about facing trials with faith, read, watch, or listen to the rest of this talk “Waiting upon the Lord: Thy Will Be Done” by Elder Robert D. Hales.