In respects to asking for wisdom (and asking in faith) being the stipulation behind the same this can be understood as he that comes to God must believe that He is and is a rewarder of them who diligently seek Him. The fool says in his heart there is no God.
But wisdom is shown as the principal thing also
James 1:5 If any of you lack wisdom, let him ask of God, that giveth to all men liberally, and upbraideth not; and it shall be given him.
And the first thing Solomon asks God for
2Ch 1:10 Give me now wisdom and knowledge, that I may go out and come in before this people: for who can judge this thy people, that is so great?
Even as it says,
Prov 4:7 Wisdom is the principal thing; therefore get wisdom:
2Ch 1:11 God said to Solomon,
Because this was in thine heart, and thou hast not asked riches, wealth, or honour, nor the life of thine enemies, neither yet hast asked long life; but hast asked wisdom and knowledge for thyself, that thou mayest judge my people, over whom I have made thee king:
And the same was granted and more in Solomons case, but here...
James 4:2 Ye lust, ( riches and wealth ) and have not: ye kill ( the life of your enemies) and desire to have, and cannot obtain: ye fight and war, yet ye have not, because ye ask not. Ye ask, and receive not, (((( because ye ask amiss )))) that ye may consume it upon your lusts.
Its more the asking amiss there, not many wise, wisdom is definately the principal thing
1Cr 6:5 I speak to your shame. Is it so, that there is not a wise man among you? no, not one that shall be able to judge between his brethren?
Notice the ability to judge and wisdom
2Ch 1:10 Give me now wisdom and knowledge, that I may go out and come in before this people: for who can judge this thy people, that is so great?
James asks,
Who is a wise man "endured with knowledge" among you?
Wisdom is the principal thing
Prov 4:7 Wisdom is the principal thing; therefore get wisdom:
and (then) with all **thy getting** get understanding.
Job 38:36 Who hath put wisdom in the inward parts?
or who hath given understanding to the heart?
Prov 17:17 He that hath knowledge spareth his words: and a man of understanding is of an excellent spirit.
Dan 9:19 Forasmuch as an excellent spirit, and knowledge, and understanding, interpreting of dreams, and shewing of hard sentences, and dissolving of doubts, were found in the same Daniel,
I snipped that out of another study, but it shows wisdom is principal but in that getting isnt always understanding either, because it does say with all thy getting (in respects to the principal thing) get understanding. Being strengthened from the principal thing through faith, and dependence on the gifts given us of God through the Spirit.