>>9394771The bible does not shy away from showing the fallen nature of mankind and how it corrupts our societies, families and ourselves. God in his perfect righteousness demands justice so all transgressions must be rectified and the punishment for all sin is death.
Every instance God has waged war against people it was justified, the bible also describes the wickedness of the nations and people that were killed, their malevolence, their sexual immortality, their child-sacrifices.
Every time there is violence is within that specific instance and it was righteous. However it has never endorsed violence in present time. If someone is using it to justify their own violence they're not following the overarching lesson in the Bible.