In an unusually strong wind, trees are uprooted, crushing everything that happens to be in the path of their fall. The tree is not strong enough to withstand the pressure of the storm. On the other hand if the a wind of the same intensity blows across a forest often, most of the trees will remain firmly rooted in the ground. The reason is the tree has been trained from a sapling to withstand such pressure.
The same holds true for our faith. The winds of testing and trials produce in us strong faith. We develop a habit of turning to God for help. We make decisions based on our knowledge that God loves us and will not abandon us. We know that even if we make a decision that does not bring about what we extended that God does not reject us, punish us, or forsake us.
God will use our very errors to bring us to himself and to glorify Christ (1 Peter 1:6-7)