I think that's the only possible answer; wisdom has been both. Part of the detriment comes from the fact that we (as individuals and as the human race) aren't as wise as we like to think. What seems like a brilliant solution to one problem causes another one down the road.
Another thing, and few people today will admit to it, is that we (as individuals and as the human race) have a hard-wired bent toward doing evil.
Between the gaps in our wisdom/knowledge and the tendency toward selfishness and mistrust, it's almost a wonder we have benefited from wisdom as much as we have. But it's so much better than foolishness!