Is the Bible true?

II Timothy 3:16 says “All scripture is given by inspiration of God, and is profitable for doctrine, for reproof, for correction, for instruction in righteousness.” The question I ask is what is “scripture?” Why is it that the Synod of Carthage in the year 397 listed which books of the New Testament could be read in church? Was there some dispute over what should be considered scripture?