But, they did not have that missing ingredient that would have helped them perceive, and hear, and heed the true way of God. Of course, that element is God's Holy Spirit. But, they are going to have it someday. When they rise in the second resurrection, they will have a chance to redo what they did. They get to try again.
They are going to have the same law, but now, they will also have the Holy Spirit of God to guide them. Look at what it says,
This is where the context begins - with the children of Israel coming out of their captivity.