From David Ker:
The best way to get a handle on interpreting the Old Testament is to repaint the heroes as villains. The Bible is God’s holy word. It is inspired. But we confuse inspiration with inspirational. Just because God wrote the book doesn’t mean he populated it with good guys. On the contrary, and I think this is one of the most amazing aspects of the Bible as a sacred text, you get to read all the dirt on God’s chosen people. His kings were killers and schemers. His prophets were ragers and whackos. It’s as if God is his own hostile witness, daring you to idolize his chosen ones.