No. He knows everything from the beginning to the end. Yes you have freewill but only God knows the outcome.
But if God created us, knowing what our choices are going to be, and cannot be wrong...doesn’t that mean we must do what He knows we are going to do? Where is the freewill part? How can we really choose, if the outcome is already known? Doesn’t that mean He created us, without the ability to do anything other than what He designed us to do? Wouldn’t this idea of freewill, just be an illusion?