The sacraments are in scripture, and the belief that the bible is sole authority, is not. In fact Christ states that: "you search the scripture, for in them you think you have eternal life." Mt. 5:39
I did not remember any passage like this on the Sermon on the Mount, so I checked. It's actually Jn. 5:39, not Matt. 5:39. Now that (a mixed up address) in itself is no big deal. What I take issue with is your taking that verse out of context, to the point that you dishonestly chopped off the end of the 39th verse (even adding a period after "life" in your post!), which changes the tone of the passage:
38And ye have not his word abiding in you: for whom he hath sent, him ye believe not.
39Search the scriptures; for in them ye think ye have eternal life: and they are they which testify of me.
40And ye will not come to me, that ye might have life.
The point of the passage is that it's a
good thing to search the Scriptures and think that they have life in them, at least insofar as they point to Jesus Christ and reveal the will of God. This is made clear by many of the (by my count) twenty-four other references to Scripture in the Gospels. These include such passages as:
"Jesus saith unto them, Did ye never read in the scriptures, The stone which the builders rejected, the same is become the head of the corner: this is the Lord's doing, and it is marvellous in our eyes?" (Matt. 21:42)
"And beginning at Moses and all the prophets, he expounded unto them in all the scriptures the things concerning himself." (Lk. 24:27)
"He that believeth on me, as the scripture hath said, out of his belly shall flow rivers of living water." (Jn. 7:38)
Here are the other passages... and not a single one supports your claim. In fact, I'm not quite sure that I understand how you thought Jn. 5:39 supported your claim. It doesn't say anything about the folly of making a single source of information your only authority. Now if you had invoked 2 Thes. 2:15, that'd be a different story.