Only the super-determinists propound that God expected Israel to keep the law "perfectly".
God expected Israel to keep the law IN GOOD FAITH.
Faithfully. Not perfectly. Big difference.
But the super-determinists always make God appear to be the unjust demanding tyrant asking that which is impossible.
It gives them some kind of unsavory psychological thrill to say so continually.
Just listen to @Rufus . He sounds like a prosecuting attorney condemning the entire human race 24/7.
Oh...so God doesn't mind some sin here and there? God is flexible on sin? Give me chapter and verse for your "in good faith" theory. Prove it from the Word.