Did God want Adam and Eve to sin? Did God want Cain to kill Abel? Did God want Israel to disobey His commandments?
What is the promise of Deut 32:21, elaborated by Paul in Romans 10:19?
Why "seed" in Gen 3:15 and not "seeds"?
God knew that Adam and Eve were going to break His covenant with them and He did not choose to make them differently or to change the circumstances..instead He made a plan B :>)
Of course He foreknew that Israel would be unfaithful. He could have if He chose change that ..but he did not. Some of it was foreordained I suspect and some allowed..but all of it was within His will and His plan