Please read Free will is an illusion, Do not blame your destiny, Freewill in Religion, Options Theory, A Universe of Possibilities in conjunction with this article. OR Read the compilation of all six Articles here Determinism and Freewill(Complete).
God’s knowledge is different from the knowledge of his creation as it’s not preceded by ignorance not that God did not know and then he learned nor is it followed by forgetfulness that he now knows but in the future it may slip from His memory.
Evil is not be attributed to God
God created the actions of people. They are attributed to God as He created them put them into existence. It is not that God created Good and evil actions it is that He made their existence possible but the human beings earned the action. Evil is not be attributed to God. Evil is relative as for example poison of snake is an evil for human beings but a good thing for snake, teeth and claws of tiger have evil for other animals but blessing for him, horns of bull have evil for oth