First let's deal with this "milions" exaggeration.
According to your source this is the count that were killed by God in the OT: 1,876,123.
1,000,000 of those were in self defense:
And the negro went out to them with an army of a thousand thousand and three hundred chariots and came as far as Marsha.And there came against them Zerah the Ku****e with an army of a million men, and three hundred chariots; and came to Mareshah.The story is being ignored. And if "not killing is good", then how do you propose an ancient people should deal with 1,000,000 soilders coming to kill them? Construct a massive prison and hold them, and feed them? Makes no sense.
That was quick.
Actually the running total in my link is 2,316,056, not to far from the pic sbove.
Why does a god need self defense?
Surely a simple "i command you to go home" wotld be far more effective and less messy. Surely an omni everything god should be capable of that.