Holy War, Just War

What are we to do with biblical passages in which God orders the destruction of entire peoples? In juxtaposing the judgment of the Lord with our assumptions about His loving and gracious nature, the holy war passages challenge us as Christians to think more deeply about the fact that God is not some cosmic force, but a Person and an omnipotent One at that.