OK. If I miss interpreted your intent, I apologize. I have not been in the best of moods lately and have not taken well to perceived antagonism.
Try this. The Old Testament is divided into three parts: The Law, The Prophets, and The Hagiographa. There are specific instances where death is the correct punishment, certain crimes as outlined in the Bible, which, according to the divisions of the Old Testament, was the law for the Israelites, just as we have the death penalty for certain crimes in our law in the United States.
Killing during war is different than murder. Some don't see it that way, but the distinction is made in the Bible and in our law.
God directed the Israelites to go to war against certain groups of people through His prophets. When He did, the outcome was always the same, the Israelites won. In certain portions of the Old Testament, the Israelites wage war against a people that they were not directed to go against. They would lose in these instances.
Do I personally think war is good? No. Do I think it is sometimes necessary? Yes. Do I think it is sometimes divinely ordained? Yes.
Do I personally think murder is good? No. Do I think it is sometimes necessary? No. Do I think it is sometimes divinely ordained? No, with one exception. God ordained the murder of Jesus to fulfill His plan of salvation.