Everyone has to guard against becoming wise in your own conceit. We must have a strong relationship with Christ and spend time in His Word in order to be really wise.
A person's wisdom is in direct proportion with their Relationship with God. Scripture tells us that vain imaginations lead to professing oneself to be Wise when in fact it leads to being a Fool. The Fool has said in his Heart there is no God.
To Believe there is a God is insufficient to alleviate foolishness. It is necessary to Worship Him and Thank Him to escape foolishness and experience the Wisdom of God.