The scriptures are spoken of as if they were a container. This passage refers to the words that a person reads in scripture. Alternate translation: "This is what a prophet wrote in the scriptures long ago" (See: [[rc://en/ta/man/jit/figs-metaphor]])
God is the one who chose the stone. Alternate translation: "a most important cornerstone, which I have chosen" (See: [[rc://en/ta/man/jit/figs-explicit]])