Here "law" and "prophets" refer to what Moses and the prophets wrote. Alternate translation: "for this is what Moses and the prophets teach in the scriptures"