Before Christianity became what it is today. There was Greek philosophy. There was Jewish Law. There was Idolatry. And many things in between. When the documentation of the Canonical Bible was scribed the powers to be left some of the "controversial" books out. There are Bibles in print that have replaced some of the missing writings. There are more out there and more I am sure to be discovered. One of these books of the Apocrypha, is called the Wisdom Of Solomon.
Wisdom of Solomon 1:6 For Wisdom is a kindly spirit, but will not free blasphemers from the guilt of their words. Because God is witness to their inmost feelings, and a true observer of their hearts and the hearer of their tongues.
So just because you may be given the spirit of wisdom, does not necessarily free you of speaking against God. The thing that is seen but unseen by God is the innermost spirit. The heart if you will. If your intention is detrimental and you use your wisdom in a perverse way, you will not go unpunished. We are human, we will become angry at injustice. We will harbor judgement against others. We will be forgiven for this. Verse 12-14 say Do not invite death by error of your life, or bring on destruction by the works of your hands. Because God did not make death and he does not delight in the death of the living. For he (God) created all things so that they might exist. That the generative forces of the world are wholesome. And there is no destructive poison in them and the dominion of Hades(hell) is not on earth.