Augustine of Hippo
Consequently, in their disbelief, they sought solace for their souls. The apostle James does not instruct us to seek wisdom in this manner; rather, he encourages those who have faith to earnestly seek it, rather than those who test and criticize God. He states that if anyone among you lacks wisdom, they should ask God, who generously grants to all without reproach, and it will be given to them; however, they must ask in faith, without doubting anything. (James 1:5-6) Such faith was absent in that generation, as their hearts were not directed towards God, and their spirits were not committed to Him.