All Scripture is given by inspiration of God, and is profitable for doctrine, for reproof, for correction, for instruction in righteousness, 2 Timothy 3:16
This entire chapter of 2 Timothy 3 is one of contrasts. Contrasts between perilous men and the man of God.
From these differences listed above, one thing is clear. The word of God, that’s what sets them apart. Scripture and truth were available to all of them. But how they approached it, how open they were to God’s pruning was what that set them apart.