If God foreordains everything He is absolutely responsible for every act and therefore is Himself evil.
The truth is that God gave Free Will which, by definition, contains the possibility of evil. But it is the holder of Free Will who chooses to effect evil.
Foreknowledge does not imply responsibility for what happens.
Consider a father of several children who takes his children to an amusement park with slides, swings and merry-go-rounds.
Suppose he just drops them off and says go play. Suppose in the course of play a fight breaks out and they all get involved and one of them gets injured and dies from the injury.
Is the father responsible for the death of the child? Some would say
➛ 'yes, he should have never taken them to the park' or
➛ 'yes, he should have supervised them and prevented the fight', while others would say
➛ 'no, he showed real love in giving them the freedom to play and interact without his controlling play'.
The fact that a human father could not have known the outcome of his decision to take his kids to the park causes us to be merciful to that father.
But God who created all things injecting free will into His greatest creation, man, could know the consequences of man's abuse of his Free Will.
So, some accuse God of the evil that men have done and are doing. He could have prevented it. That is true.
But to do so He could have never given Free Will to man.
➛ Then man would not be in His image, in His likeness.
➛ There would have been no possibility for fellowship between Him and man.
➛ He would have just been a puppet-master.
Suppose the father in the scenario above could heal all the injuries his children sustained from their free play and even raise his dead child? Then the whole affair can be seen as just an experience - no longer a tragedy.
Experiences are what make life worth living. They are God's gift to us. He enjoys watching us experience life. As our Heavenly Father He does not want to see us injure ourselves and He takes no pleasure in our deaths.
But beyond His pleasure and compassion in our experiences He did something that no human father could do. He made a way of escape - even before He created all things . .
So, we see that God loved us so much that He gave us Free Will, knowing that we would abuse it, and made a way for us to be healed, to be raised from the dead and to experience Eternal Life with Him and in Him.
His name is Jesus.