“The Lord saith these things, The Lord is name of him that shall do, and form, and make ready that thing; (The Lord saith these things, he who made, and formed, and established the earth, yea, the Lord is his name;) Cry thou to me, and I shall hear thee, and I shall tell to thee great things, and steadfast (and I shall tell thee great and steadfast things), which thou knowest not.”
James tells us if we lack wisdom we should ask God who gives generously the knowledge and the understanding, i.e. the wisdom that we need for any situation. After all, God is the One “who made, and formed, and established the earth.” Being the Creator, God knows all. Because He knows all, He is all wise. Because He is all wise, who else should we ask for the wisdom we need? And why should we doubt His gift? He promises to “hear [us], and […] tell to [us] great things, and steadfast, which [we] knowest not.” The caveat, per James, is we must not doubt God’s promise. Our doubt gets in God’s way, like a roadblock. Yet, we have another option! We can pray, “Lord, help our unbelief.” Always, God makes a way for us. Always.