There is actually much more to it.
As Rav Hutner wrote in a letter to a struggling talmud:
"Seven times does the righteous one fall and get up" does not mean that "even after falling seven times, the righteous one manages to gets up again." What it really means, is that it is
only and precisely through repeated falls that a person truly achieves righteousness. The struggles – even the failures – are inherent elements of what can, with determination and perseverance, become an ultimate victory.
“A failing many of us suffer from is that when we consider the aspects of perfection of our sages, we focus on the ultimate level of their attainments, while omitting mention of the inner struggles that had previously raged within them. A listener would get the impression that these individuals came out of the hand of their Creator in full-blown form. Everyone is awed at the purity of speech of the Chofetz Chaim, z”tl, considering it a miraculous phenomenon. But who knows of the battles, struggles and obstacles, the slumps and regressions that the Chofetz Chaim encountered in his war with the yetzer hara (evil inclination)?
There are many such examples, to which a discerning individual such as yourself can certainly apply the rule. The English expression, ‘Lose a battle and win a war’ applies. Certainly you have stumbled, and will stumble, and in many battles you will fall lame. I promise you, though, that after those losing campaigns you will emerge from the war with the laurels of victory upon your head. Lose battles, but win wars.”
Our challenge in life is not to be perfect. That is unattainable and, according to Shlomo Hamelech, it is in some way undesirable, for one cannot become a tzaddik without falling. The challenge is to carry both sets of Luchos with us, to take pride in our successes and seek to repeat them and to recall and learn from our failures and be determined to transcend them.