Hey Freeandclear... researching the history of the Bible and previous belief systems (eg read up on the Egyptian "Book of the Dead" and pagan beliefs) helped educate me on the false claim of the Bible being inspired by any sort of god.
As cofty stated, the issue of Theodicy, why an all loving, all powerful god allows evil to persist is an issue most believers have to face at some point. Once again, I will reference Bart Ehrman, as cofty did and recommend his podcast on The History of the Bible:
Bart Ehrman - The History Of The Bible: The Making Of The New Testament Canon