I was foolish so that I can become wise.
I was weak so that I can become strong.
I was poor so that I can become wealthy.
I was unwell so that I can become healthy.
Don't discount the value of your past behaviors. They're a necessary experience to help you improve.