The Bible is filled with stories where events happen and it must be God getting even with someone for sinning. In reality, David was a flawed man and Solomon was strange and mystical, even worse than David.
If a man committed adultery, killed the woman's husband he committed it with, not always directly, but even wanting someone to go away is a death of sorts because you are telling them you don't want them around, and the woman he commits it with has a child and he gets sick and dies, 2000 + years ago, they believed God was judging and punishing the adulterers by allowing it to happen and they wrote it on the pages of books. Eventually, over time, it appears in texts, one of which is the Bible. Really it's just men writing about these events. Back then, infant mortality was high. A baby getting sick and dying was not an uncommon occurrence. Even people who didn't commit adultery had infants that died of illness. Having one die was hardly a measure of one's moral fiber. It was just an unfortunate earthly condition, at the time. As we learn, we figure out ways to keep infants from dying and this is how the true divinity works from within, by allowing us to find these ways, to figure stuff out.
The Divine is not evil. Conditions of the Demiurgent world, the imperfect place that is only a tiny bit divine, are evil and unjust. The only way to defeat them is through the knowledge, salvation, finding the divine spark within.
The Bible can be unreliable but should help you develop your wisdom. When you reach conclusions about reality, the human condition and how humanity responds, you become wiser. You learn more about how divinity manifests and think, what about what I can do? How can I become divine? How can I find my own salvation?
This purpose the Bible serves and I feel more and more like Yoda everyday. ![alien :alien:](./images/smilies/alien.gif)