The Bible teaches us to learn from experiences and revelations given to us through God’s grace, not just from scripture.Almost all of the Bible came by people learning from sacred experiences and revelations given to them. So in each of this, it is teaching us not only to learn what they learned, but also to learn from their example. Even John the Baptist rested his testimony on experiences direct from God, such as telling him about the dove descending on the Christ, and then his seeing it happen and thus telling all that Jesus is the Christ. Indeed, by his testimony and Peter and other later apostles hearing it, the faith was given, beginning the gospel. Peter and John saw Jesus transfigured, and heard God say from heaven that Jesus is His Son. Paul learned the gospel by revelation to him personally by the risen Jesus. It is all an example to us, that faith is about learning this way, and what are the glorious results of doing so. People in some circles teach Sola Scriptura principles of doctrine only coming from scripture, yet scripture doctrines almost always came from direct experiences and revelations from heavenly grace, so if we learn from scriptures we will learn from such experiences and revelations too, as scripture teaches us.