When it comes to Nisyonot (trials) that are relentless, day after day, inevitably there will be failures. There'll be good days, but unfortunately there'll also be bad days. Success is dependent upon perspective.
A number of years ago, in a yeshiva in Eretz Yisrael (Land of Israel), one that catered to American bochurim (young men), the night of Erev (eve of) Rosh Hashanah (Jewish New Year), there was a celebration going on. Yes, Erev Rosh Hashanah, singing and dancing. What was the back story?
There was one bochur in yeshiva, someone who was a Yerushalmi (Jerusalemite) who was trying hard. He had but one fault. He was a Ka'asan (angry person). He constantly lost himself in fits and rages of anger.
The year prior to that Erev Rosh Hashanah, he had a conversation with his Rebbe (teacher), who encouraged him to be mekabel al (accept upon) himself the coming year to work on that anger. He offered him a deal. If he'd control that anger for a year, he'd give him $500 cash. And as a vote of confidence, he put the money into an envelope and handed it to him, giving him the money upfront.
The following year in Elul (month before Rosh Hashanah), that bochur called his Rebbe over to the side for a private conversation and returned the envelope. Written on the back was a letter: “Dear Rebbe, I'm a miserable failure. I tried so hard, but I couldn't succeed. I have no choice but to return the money.”
With tears filling his eyes, the Rebbe turned to his talmid (student) and said, “What do you mean? How often did you get angry? How many times?” The student replied, “You fail? I don't know, too many times to count.” The Rebbe said, “I don't believe you. You certainly kept track. You were trying so hard. Tell me, how many times did you fail?” The student answered, “In truth, it was 48 times that I got angry.”
After a quick calculation, the rabbi turned to his talmid. “What do you mean? You call that failure? I call that success. That means 317 days this year you controlled your anger. That's a cause for celebration. Not only should you keep the money, but we're making a seudah (festive meal), singing and dancing to celebrate your accomplishments tonight.”
That's what took place in that yeshiva on Erev Rosh Hashanah. Success breeds success. By focusing on our successes as opposed to letting the failures get us down, we can slowly build ourselves up to the ultimate success.