Scripture says / foresees
Here’s what it means
What God says in Scripture is spoken of as though Scripture itself were the speaker or one who foresaw events.
Why the Bible says it this way
The writer names one closely related thing to stand for the person, action, or larger idea.
A helpful detail: The wording highlights the authority and living force of the written word; it does not make the physical scroll a conscious person.