Quoted:
Jesus i get fine. but God seems to spend a lot of time in the old testement being petty and cruel as an example God makes Saul "twist off" and almost kill David. or am i reading this wrong?
1 Samuel 18 :: New American Standard Bible
(10)Now it came about on the next day that (11) an evil spirit from God came mightily upon Saul, and (12) he raved in the midst of the house, while David was playing the harp with his hand,
View Quote
My version says: (10)The very next day, in fact, a tormenting spirit from God overwhelmed Saul, and he began to rave like a madman. David began to play the harp, as he did whenever this happened. But Saul, who had a spear in his hand, (11)suddenly hurled it at David, intending to pin him to the wall. But David jumped aside and escaped. This happened another time, too, (12) for Saul was afraid of him, and he was jealous because the Lord had left him and was now with David. (New Living Translation)
The important word is "almost." When taken in context, realize that God was punishing Saul for his sins earlier (see 1 Samuel chapter 15--Saul continously disobeys God, so God removed His favor from Saul and blessed David as Saul's successor).
God instead protected David by giving him help, in the form of Jonathan, Saul's son.
Remember that there is a price to pay for sin; in the New Testament and after, Jesus paid that price. In the OT, however, God extracted that price from those who sinned and were unrepentant, like Saul was.
Saul was paying the price for his vanity, jealousy and disobedience; he brought these spirits upon himself.