Are you going to say that Adam's sin was a surprise to God...that He was not prepared for it??
Of course not. God created Adam with a free will and knew that Adam might be disobedient. That is the risk He was willing to take in order to have a love relationship with man.