This remark appears in the form of a question to add emphasis. Alternate translation: "The scriptures teach that Christ will come from the line of David and from Bethlehem, the village where David was!" (See: [[rc://en/ta/man/translate/figs-rquestion]])
The scriptures are referred to as if they were actually speaking as a person speaks. Alternate translation: "Did the prophets not write in the scriptures ... was?" or "The prophets wrote in the scriptures ... was." (See: [[rc://en/ta/man/translate/figs-personification]])