Compared to the wisdom of God, anything that we call wisdom here on earth is nothing but foolishness. Divine wisdom far exceeds anything we can think or imagine, not only in quality, but also in quantity. Men who think themselves wise and try to deceive others will be dealt with by God.
12 He ruins the plans of those who trick others so they have no success. 13 He catches the wise in their own clever traps and sweeps away the plans of those who try to trick others.—Job 5:12 NCV
Admitting that our wisdom is useless for getting into heaven is part of the humbling process. It is also one of the objections that worldly wise people have to becoming a Christian. That is why so many of us do not accept Jesus until He has allowed us to get to the end of our resources, then we will turn to Him. We can see Job as an example of this. He lost everything here on earth and was advised by His wife to curse God and die, Job refused and his “wise” friends tried to counsel him. but it took a confrontation with God himself for Job to humble himself and be redeemed.
25 “As for me, I know that my Redeemer lives, and at the last He will take His stand on the earth.” Job 19:25 NASB