Did God back everything David did which included adultery the death of a man standing between him and the woman he wanted?
Obviously not, but David repented and went on to be one of the most successful Kings in history.
And firstly I didn't say God backed Israel's actions in Gaza and secondly you'll need a more robust position to defend your stance of atheism than events in the middle east!