God doesn't define evil as we do but here's one verse to chew on.
‘Now see that I, even I, am He, And there is no God besides Me; I kill and I make alive; I wound and I heal; Nor is there any who can deliver from My hand. Deuteronomy 32:39
Theologians say that God is not the author of evil, because He is defined by love (agape). The word "good" is actually derived from the word "god". However, "justice" is "good" and how is justice met? God is sovereign in creation, which means that He is in control over creation and that nothing happens except that He allows it. Not everything He does seems good to us, because we have the limited perspective of our lives. God has the perspective of eternity.
Allow me to give a few more verses to consider.
26 with the purified you show yourself pure;
and with the crooked you make yourself seem tortuous.
Psalm 18:26 (ESV)
27 Now He who searches the hearts knows what the mind of the Spirit is, because He makes intercession for the saints according to the will of God.
28 And we know that all things work together for good to those who love God, to those who are the called according to His purpose. 29 For whom He foreknew, He also predestined to be conformed to the image of His Son, that He might be the firstborn among many brethren. Romans 8:27-29
7 If you endure chastening, God deals with you as with sons; for what son is there whom a father does not chasten? 8 But if you are without chastening, of which all have become partakers, then you are illegitimate and not sons. 9 Furthermore, we have had human fathers who corrected us, and we paid them respect. Shall we not much more readily be in subjection to the Father of spirits and live? 10 For they indeed for a few days chastened us as seemed best to them, but He for our profit, that we may be partakers of His holiness. 11 Now no chastening seems to be joyful for the present, but painful; nevertheless, afterward it yields the peaceable fruit of righteousness to those who have been trained by it. Hebrews 12:7-11
44 But I say to you, love your enemies, bless those who curse you, do good to those who hate you, and pray for those who spitefully use you and persecute you, 45 that you may be sons of your Father in heaven; for He makes His sun rise on the evil and on the good, and sends rain on the just and on the unjust. Matthew 5:44-45
There is nothing that happens to men that doesn't happen to Christians. The difference between Christians and the world is how we perceive things. The world calls some things evil that we call good, and other things good that we call evil. To be taught by God is to understand why there is this difference and to allow God to have His way in us, to renew us in the image of His Son.
19 And the Angel of God, who went before the camp of Israel, moved and went behind them; and the pillar of cloud went from before them and stood behind them. 20 So it came between the camp of the Egyptians and the camp of Israel. Thus it was a cloud and darkness to the one, and it gave light by night to the other, so that the one did not come near the other all that night. Exodus 14:19-20
Consider that scripture compares the bondage of Egypt experienced by God's chosen people to the bondage of sin and that the entire world is under such bondage except those delivered from sin through faith in Jesus Christ. When the Chosen were lead through the waters by the angel of the Lord, their way was lit by the pillar of flame, but at the same time, all the Egyptians could see was thick cloud and darkness. God changes our perception when He brings us into the kingdom of light, but the world condemns us as evil.
Woe to those who call evil good, and good evil;
Who put darkness for light, and light for darkness;
Who put bitter for sweet, and sweet for bitter! Isaiah 5:20
3 For what if some did not believe? Will their unbelief make the faithfulness of God without effect? 4 Certainly not! Indeed, let God be true but every man a liar. As it is written:
“That You may be justified in Your words,
And may overcome when You are judged.” Romans 3:3-4
15 But he who is spiritual judges all things, yet he himself is rightly judged by no one. 1 Corinthians 2:15