What covenant was given to Israel by God? It has to have contents. Please quote some of them for us.
Both of your verses are about the same covenant. God spoke the famous 10 to Israel.
Brother your mixing up God's eternal law with the Shadow laws from the Mosaic book of the Covenant. Let's look at some of the scriptures..
The OLD COVENANT was made up of God's 10 Commandments *
DEUTERONOMY 4:13 and the MOSAIC BOOK of the COVENANT *
EXODUS 24:7. God's 10 Commandments were spoken *
EXODUS 20:1-19 and written by GOD alone *
EXODUS 32:16 and the book of the Covenant was written *
DEUTERONOMY 31:24 and spoken by MOSES *
EXODUS 24:4-7 alone (under God's guidence).
TOGETHER both God's eternal law (10 commadments) written on stone and the MOSAIC BOOK of the Covenant are the OLD COVENANT. They were both SEPARATED and housed in the ARK OF THE COVENANT. God's LAW was placed inside the ARK of the COVENANT *
DEUTERONOMY 10:5 while the MOSAIC BOOK of the COVENANT was placed in the side of the ARK of the COVENANT *
DEUTERONOMY 31:26
DEUTERONOMY 10:5 [5] And I turned myself and came down from the mount, and put the tables in the ark which I had made; and there they are, as the LORD commanded me.
Yep there is the 10 Commandments housed in the ARK of the COVENANT.
DEUTERONOMY 31:26 [26] Take this book of the law, and put it in the side of the ark of the covenant of the LORD your God, that it may be there for a witness against you.
EXODUS 24:7 [7] And he took the BOOK OF THE COVENANT, and read in the audience of the people: and they said, All that the LORD has said will we do, and be obedient.
So in summary here it is both the God's eternal law (10 Commandments) that give us the KNOWLEDGE of sin and the shadow laws from the MOSIAC BOOK of the Covenant that made up the OLD COVENANT.
The NEW COVENANT is not like the OLD COVENANT. We no longer do animal sacrifices and the shadow laws from the MOSAIC BOOK of the COVENANT *
EXODUS 24:7 that pointed to JESUS and God's plan of salvation in the NEW are fulfilled in Christ and his mimistration as our great sacrifice and high Priest who ministers on our behalf in the Heavenly Sanctuary made without hande.
You mix up the shadow laws from that MOSAIC book of the covenant *
EXODUS 24:7 brother with God's eternal law that give us the KNOWLEDGE of GOOD and EVIL; SIN and RIGHTEOUSNESS *
ROMANS 3:20;
ROMANS 7:7;
1 JOHN 3:4;
PSALMS 119:172 that show us we are all sinners and lead us to Christ that we might be forgiven by faith *
GALATIANS 3:22-25 to be free from our sins to walk in his Spirit *
GALATIANS 5:16.
SIN is the breaking of God's Commandments (
James 2:9-11;
Romans 7:7;
1 John 3:4) Those who CONTINUE in UNREPENTANT SIN will NOT enter into the KINGDOM of HEAVEN.
The NEW COVENANT is not the same as the OLD COVENANT *
HEBREWS 8:10-12, we no longer need to follow the Shadow LAWS from the MOSAIC BOOK of the COVENANT that all pointed to JESUS and God's plan of salvation in the NEW COVENANT.
God's ISRAEL in the NEW COVENANT are all those who BELIEVE and FOLLOW God's WORD. If you are not a part of God's ISRAEL you have no part in the new covenant *HEBREWS 8:10-12. Gentiles are now grafted in *ROMANS 11:13-27.
The above was posted earlier. Seems you ignored it or missed it.
Hope this helps.