“All scripture is given by inspiration of God, and is profitable for doctrine, for reproof, for correction, for instruction in righteousness:”
King James Version (KJV)
3:16 All scripture is inspired of God - The Spirit of God not only once inspired those who wrote it, but continually inspires, supernaturally assists, those that read it with earnest prayer. Hence it is so profitable for doctrine, for instruction of the ignorant, for the reproof or conviction of them that are in error or sin, for the correction or amendment of whatever is amiss, and for instructing or training up the children of God in all righteousness.
2Ti 3:16 All scripture [is] given by inspiration of God. The Revised Version is much better: "Every Scripture inspired of God is also profitable", etc. Whether it is depends on its inspiration. For instance, the Apocrypha is called Scripture, but is not inspired. For doctrine. For teaching.