The Spirit not only inspired the Scripture, He also caused it to be inspiring. "All scripture is God-breathed and is useful for teaching, rebuking, correcting and training in righteousness" (2 Tim. 3:16). Whatever the Spirit does will line up with Scripture because the Spirit inspired Scripture to begin with. The two will always agree.