The apostles never assumed or taught that Scripture inspired by God would later be replaced by a *church*. When they were spreading the gospel, they were using Scripture, showing them out of Scripture.
Even Jesus did that on the road to Emmaus.
Luke 24:27 And beginning with Moses and all the Prophets, he interpreted to them in all the Scriptures the things concerning himself.
Galatians 3:24 So the law was put in charge to lead us to Christ that we might be justified by faith.
The only purpose of the Law was to lead us to Christ, to show us that we needed Him. It was never intended to save anyone.
The Scripture, however, was Jewish Scripture. The New Testament is a reflection on it in the light of their encounter with the Lord,more or less as the Psalms, and the Writings were a reflection on the Torah in the light of Israels encounter with God in history.
****Even Jesus did that on the road to Emmaus.****
And yet it wasn’t until the breaking of the bread that they realized who was in their midst.