i've always thought that a substantial part of the Old Testament was written to provide divine justification for the defensive wars and conquest that the Jews/Israel (and their theological descendants, the Christians) waged against the neighboring countries/tribes that are the ancestors of modern-day Arab nations (the Philistines, Assyrians, Persians, etc)
God "ordered" kings to annihilate other nations to "punish them for ungodly practices"? i've never read the Quran, but i wonder what its account is of those wars....?