Take care, then, to avoid what the great apostle sets forth so fearfully, and when you feel that you do not understand, make an immediate act of faith in what is divinely revealed, that there is both free will in humans and grace from God; and pray that what you religiously believe you may also wisely understand. Indeed, it is for this very reason that we have free will that we may wisely understand, for, unless our understanding and wisdom were regulated by free will, we should not be commanded in the words of Scripture: "Understand, you senseless among the people; and you fools be wise at la...st." The very fact, then, that we are instructed and commanded to understand and be wise is proof of a demand on our obedience, which cannot exist without free will. But, if it were possible for this to be accomplished by free will without the grace of God, namely, that we should understand and be wise, we should not have to say to God, "Give me understanding that I may know your commandments"; nor would it be written in the Gospel, "Then he opened their understanding that they might understand the Scriptures"; nor would the apostle James have said, "But if any of you lack wisdom, let him ask of God who gives to all people abundantly and upbraids not: and it will be given to him."
Source: LETTER 214