If I look at my Facebook feed, those who insist that everyone needs to love everyone are also the most obnoxious and intolerant posters.
There may be infamous groups in some religions that are fanatics and even some religions themselves who hate (is it true that Islam provides the death penalty for homosexuals?) But I do not think that the religion either to blame for being bigot. I think people tend not to like those who are different.
A study on babies was carried out (if I find the link that I will provide), where the scientist showed babies puppets of different colors. Those who had the skin color closer to their loved ones. The puppets of different colors that they liked to see being hurt. It was a very strange study. Hey, I found that … https://www.smithsonianmag.com/science-nature/are-babies-bigoted-1980725/