And how do we know good doctrine? It agrees and is based on the Scriptures.
Sola Scriptura!
But not Solo Scriptura.