Sometimes, God gives us success so that He can show us our sin, and failure so that He can break us of it.
That's all I have to say about that.