Studying failures can help to solve the exact problem.
There are two ways to look at failure.
1- you know why are you failing- If you know why are you failing then accept the challenge and overcome it.
2- You don't know why are you failing- Then find out the WHY and overcome it. That's it.