Scriptures are not said to impart right doctrine, but to be useful in training people in living a particular way.Also note that the emphasis is on their usefulness and their beneficial character. Perhaps we ought to start there. Rather than first defining a particular collection of texts as scripture (something 2 Timothy does not do, nor does any other work in the Bible), and then assuming they must be useful and beneficial, perhaps we ought to start with texts that are useful and beneficial, and treat those as not just “scriptures” (which simply means “writings”) but as special, even sacred.This should lead us to ask whether hate-filled texts are useful or beneficial, and if not, what that means for their status as “scripture.”
Source: 2 Timothy 3:16