what does the bible say?
The Bible teaches that all human beings are born with sin (Genesis 3; Romans 3:23), and our wicked hearts are the cause of wars and other atrocities in the world (Jeremiah 17:9). Quarrels and fights and wars come from the evil desires within (James 4:1-3). Religion and ideology are simply the means through which some exercise the wickedness in their hearts.
In fact, the Old and New Testaments teach love for others (Leviticus 19:18; Matthew 5:44, 22:39), so if everyone behaved per Scripture’s teaching, wars would not occur. But everyone doesn’t—meaning wars start because people don’t follow those teachings. When someone instigates unjust aggression against innocents, that isn’t because they’re following the Bible’s teaching. In such cases, the moral duty of believers is to defend the innocent (Psalm 82:3-4; Proverbs 6:16-19). Since New Testament times, God has set up government authorities to wield the sword to do that (Romans 13:4), not to mandate a religion.
Sometimes atheists point to the Old Testament wars to blame religion for war. But God used the wars He sanctioned in the Old Testament to mete out justice on wicked people, such as the Canaanites (Deuteronomy 9:5). In New Testament times and today, God has set up governments to carry out justice (Romans 13:1-4), which sometimes occurs through war.