This problem is further complicated because according to the bible, evil comes from god.
•Shall a trumpet be blown in the city, and the people not be afraid? shall there be evil in a city, and the LORD hath not done it? (Amos 3:6, KJV)
•Out of the mouth of the most High proceedeth not evil and good? (Lamentations 3:38)
That means there are only a few alternatives. One, the bible is wrong. Two, god both creates good and evil and permits them both free reign. Three, there is no god and events which are good and bad happen according to the laws of probability.