But when they in their trouble did turn unto the LORD God of Israel, and sought him, he was found of them. And in those times there was no peace to him that went out, nor to him that came in, but great vexations were upon all the inhabitants of the countries. And nation was destroyed of nation, and city of city: for God did vex them with all adversity. Be ye strong therefore, and let not your hands be weak: for your work shall be rewarded.
2 Chronicles 15:4-7
When Asa, one of the better kings of Judah, was distressed because of the enemies threatening his nation, God sent the prophet Azariah with a message of hope and encouragement. The message acknowledged the troubles God's people were having and the fact that their unfaithfulness to Him was at the root of those problems. Yet it also offered hope that God would reward the efforts and work of those who refused to allow themselves to become discouraged and give up.
I read about a little boy who was struggling to learn to ice skate. His repeated falls brought sympathy from a watching man who said, “Sonny, you're getting all banged up. Why don't you stop for a while and just watch the others?” With tears still rolling down his cheeks from his last fall, the boy looked from the man to his wounds and then to the shining steel on his feet and answered, “Mister, I didn't get these skates to give up with; I got 'em to learn how with!”
Most of the things in life that are worth anything require a great deal of effort to acquire. And the process of learning and developing the skills to succeed is often marked with failure. Very few things work perfectly from the start. The difference between success and failure is found in whether or not we give up. If we refuse to quit because things are difficult, we will find that God is faithful to reward our efforts.