[From Psychology forum] General Religion Discussion
Thomas Edison failed a bunch of times trying to invent the light bulb. He looked at it positively though. Yes they were failures, but to Him they were mistakes to learn from. He learned how NOT to make a light bulb and kept trying something new until He found it. So His failures never became regrets.
We are imperfect human beings, created that way to keep us humble. To realize that God Almighty is the only one worthy of glory and praise. He is in perfect control of everything. And He planned our lives before we were conceived.
God lets us fail to humble us, and to make us better!
Seek ye first the kingdom of God, and all these things will be added unto you.