"Through wisdom is an house builded; and by understanding it is established: And by knowledge shall the chambers be filled with all precious and pleasant riches." Prov. 24:3-4
Wisdom, understanding and knowledge: How do you get these precious jewels? There is only one access to these heavenly gifts from God; Faith by the indwelling Holy Spirit. Faith isn't just something you obtain so that you can be saved. Faith is the the essence of a direct connect with God so that God can fill you with wisdom, understanding and knowledge. And by drawing close to God on all levels our chambers will be filled with the great treasure of gifts from God.
Is there a pre-requisite for obtaining wisdom, understanding and knowledge? Yes. Simple faith mingled with simple faithfulness. Nothing else will do. Do's and don'ts won't get you there. Being a member of a particular denomination would do it. Acting spiritual while prejudice, avarice and inconsistency are being nurtured won't get it. Acting spiritual while living worldly won't get it either, even if you have tons of faith. No, none of these are pre-requisites. Simple faith with simple faithfulness is the only way.