For you to be brought to the place where you will need the grace of God, God will need to defeat your confidence , because he needs you to look up to him.
If you are a kind of person that thinks he can do everything for himself or herself, God will defeat your confidence, he will bring you to a point where you will be exposed to some certain circumstances that will cripple you, so everyone must be brought where he will look up to God.
You cannot come to the throne of grace if you are still overwhelm with your personal sufficiency, so in order for God to help you, he will defeat your confidence.