The ten commandments appear in the book of Exodus. Four books later, in the book of Joshua, God helps the Jews slay hundreds of thousands of people including the Philistines (ancestors of the modern day Palestinians) in order for the Jews to occupy "the promised land". Go figure.
Bev and Jerry