i do see how it may be contradictory
when you read the accounts of war in the old testament, it does appear that way
God is said to have love as his main attribute...but he also has 'Justice' and at times, as is seen in the OT, his justice has moved him to act in behalf of the enemies of his people
but what would you rather? a God who sits back and does nothing when his people are being attacked, or a God who is willing to stand up and put his power to work in behalf of his people?
i know which i would rather.