This is a popular misconception. Tribal hatred is done in the name of religion, but that doesn't mean the religion caused it. Lots of anti-hate movements have also been in the name of religion, especially historically. And societies without religion have found other excuses for hate.