Our testimonies, like [planted] trees, must be built on a sure foundation, deeply rooted in the gospel of Jesus Christ, so that when the winds and rains come into our lives, as they surely will, we will be strong enough to weather the storms that rage about us.
Sheldon F. Child, "A Sure Foundation", General Conference, October 2003
I've mentioned this analogy before in a thought of mine, but it constantly comes to my mind when I read and study. A tree that is planted in bad soil, or that is not planted deep enough, or that doesn't receive the proper nourishment and water will assuredly fall over, be uprooted, and perish.
Three things are necessary for the survival of that tree. Number 1, good soil to be planted in. The Gospel of Jesus Christ, the Plan of Salvation, and His Church, is the greatest soil to be planted in.
Number 2, the tree must be planted deep enough so the roots can take hold and thrive. My front yard used to have a tree planted in it but we noticed that the roots were visible and shallow. Then, when we got hit with a furious storm with high winds, that tree couldn't be supported by it's shallow foundation and it fell. The commandments of our Heavenly Father are given to us to guide us, to keep us planted deep down. When we only keep some of then, we're not as deep as we need to be.
Number 3, the tree must be constantly nourished so the roots become strong. Proper spiritual nourishment includes the word of God through scripture, through living prophets and His other servants. It includes prayer and fasting. It includes paying a tithe. It includes all the little things which add up to great and marvelous things.
Also, an interesting phenomenon to note, is that when a tree gets hit with strong and mighty winds, it's roots will grow outward and make the tree stronger so that it holds on.
So, when we get hit with strong and mighty trials and challenges, our roots will make us stronger. The stronger the wind, the stronger the tree becomes.