There's the wisdom of the world and there's the wisdom of God. Following the wisdom of the world will always lead to vanity.