God helps us through failures and the Lord delivers us out of them. God also makes goodness come from our failures. Even Christ’s strength was made perfect in weakness.
Christ’s strength made perfect in weakness
2 Corinthians 12:9 9 And He said to me, “My grace is sufficient for you, for My strength is made perfect in weakness.”Therefore most gladly I will rather boast in my infirmities, that the power of Christ may rest upon me.
Disciples failed to cast out demons
Matthew 17:14-21 14 And when they had come to the multitude, a man came to Him, kneeling down to Him and saying, 15 “Lord, have mercy on my son, for he is an epileptic and suffers severely; for he often falls into the fire and often into the water. 16 So I brought him to Your disciples, but they could not cure him.”