Are you aware the the devil, and who did what in this world, was not fully revealed until Jesus rose from the dead? Also you may want to look up the Hebrew idiom of permission. We must understand things from their perspective, not ours. The Bible wasn't written last year in New York or Los Angeles. I trust you can imagine their mode of thinking was much different than our own. Different culture entirely, different figures of speech, idioms, world view, and much more. All that can be learned, and it is in fact critical to arrive at a true understanding of the scriptures. Any ancient Eastern book is the same way. Shouldn't be that hard to see.
Would you say most of your understanding of the scriptures comes from what others (priest, pastor) told you, or from your own independent study, like the Bereans in Acts 17?