Just a thought.
The same Scriptures which served as LEGAL codes for prosecution and condemnation to NATIONAL Israel (excluding national Gentiles), now serve as MORAL examples and reminders to the SPIRITUAL Church (of both national Jews and national Gentiles) for saving wisdom, doctrine, correction, reproof, instruction to equip us for every good work in Christ.
1 Corinthians 10:11
(11) Now all these things happened unto them for examples: and they are written for our admonition, upon whom the ends of the ages are come.
2 Timothy 3:14-17
(14) But continue in the things which you have learned and have been assured of, knowing of whom you have learned them;
(15) And that from a child you have known the holy scriptures, which are able to make you wise unto salvation through faith which is in Christ Jesus.
(16) All scripture is given by inspiration of God, and is profitable for doctrine, for reproof, for correction, for instruction in righteousness:
(17) That the man of God may be perfect, thoroughly furnished unto all good works.