Problems create situations in which we can grow. The things we want to avoid are the very things that nuture us and shape us into the persons we should be. Stress caused from problems keep us on the cutting edge of wisdom. If we lived in a problem free environment it would be a pretty dull world. Positive thinkers see failure as a stepping stone.
Negative thinkers see failure as a tombstone.
Failure can actually help us renew our minds. God is the author of paradoxes. Only he can bring victory in the midst of defeat. Notice that the words of Deuteronomy are not only spoken at the place of failure but that place was also a place of victory. They stood on the banks of the Jordan River.