The word "twisted" is the same as the word "wicked" in the Bible. In fact, the terms can almost always be interchanged without altering the meaning of the text. A candle wick is twisted thread, a wicker basket is twisted bamboo and twisted thinking is wicked thinking.
As Peter wrote, "Keep in mind that the patience of our Lord means salvation, even as our beloved brother Paul has also written to you according to the wisdom given to him. As in all his letters, he writes about these things, in which some things are hard to understand, which the unlearned and unstable distort, as they also do the other Scriptures, to their own destruction" (2 Pet. 3:15–16).