Sir 9:11-12 Do not envy the honors of a sinner, for you do not know what his end will be. Do not delight in what pleases the ungodly; remember that they will not be held guiltless as long as they live.
Back to the topic of wisdom, it might be easy to think that those who do not follow God's wisdom are no farther away from happiness than those who do. They may enjoy worldly successes, but we do not know what their end may be.
God chooses contrary to worldly wisdom:
1Co 1:18-29 For the word of the cross is folly to those who are perishing, but to us who are being saved it is the power of God. For it is written, "I will destroy the wisdom of the wise, and the cleverness of the clever I will thwart." Where is the wise man? Where is the scribe? Where is the debater of this age? Has not God made foolish the wisdom of the world? For since, in the wisdom of God, the world did not know God through wisdom, it pleased God through the folly of what we preach to save those who believe. For Jews demand signs and Greeks seek wisdom, but we preach Christ crucified, a stumbling block to Jews and folly to Gentiles, but to those who are called, both Jews and Greeks, Christ the power of God and the wisdom of God. For the foolishness of God is wiser than men, and the weakness of God is stronger than men. For consider your call, brethren; not many of you were wise according to worldly standards, not many were powerful, not many were of noble birth; but God chose what is foolish in the world to shame the wise, God chose what is weak in the world to shame the strong, God chose what is low and despised in the world, even things that are not, to bring to nothing things that are, so that no human being might boast in the presence of God.
1Co 2:3-9 And I was with you in weakness and in much fear and trembling; and my speech and my message were not in plausible words of wisdom, but in demonstration of the Spirit and of power, that your faith might not rest in the wisdom of men but in the power of God. Yet among the mature we do impart wisdom, although it is not a wisdom of this age or of the rulers of this age, who are doomed to pass away. But we impart a secret and hidden wisdom of God, which God decreed before the ages for our glorification. None of the rulers of this age understood this; for if they had, they would not have crucified the Lord of glory. But, as it is written, "What no eye has seen, nor ear heard, nor the heart of man conceived, what God has prepared for those who love him,"
James also contrasts the two types of wisdom:
Jas 3:14-17 But if you have bitter jealousy and selfish ambition in your hearts, do not boast and be false to the truth. This wisdom is not such as comes down from above, but is earthly, unspiritual, devilish. For where jealousy and selfish ambition exist, there will be disorder and every vile practice. But the wisdom from above is first pure, then peaceable, gentle, open to reason, full of mercy and good fruits, without uncertainty or insincerity.